Remove the types Dev_t, _mnx_Gui, _mnx_Uid, and similar.
Use ANSI-style function declarations where necessary.
This commit is contained in:
@@ -477,7 +477,7 @@ PUBLIC int vm_lookup(const struct proc *proc, const vir_bytes virtual,
|
||||
/*===========================================================================*
|
||||
* vm_contiguous *
|
||||
*===========================================================================*/
|
||||
PUBLIC int vm_contiguous(const struct proc *targetproc, u32_t vir_buf, size_t bytes)
|
||||
PUBLIC int vm_contiguous(const struct proc *targetproc, vir_bytes vir_buf, size_t bytes)
|
||||
{
|
||||
int first = 1, r;
|
||||
u32_t prev_phys = 0; /* Keep lints happy. */
|
||||
|
||||
@@ -246,10 +246,7 @@ vir_bytes size;
|
||||
/*===========================================================================*
|
||||
* int_gate *
|
||||
*===========================================================================*/
|
||||
PUBLIC void int_gate(vec_nr, offset, dpl_type)
|
||||
const unsigned vec_nr;
|
||||
const vir_bytes offset;
|
||||
const unsigned dpl_type;
|
||||
PUBLIC void int_gate(unsigned vec_nr, vir_bytes offset, unsigned dpl_type)
|
||||
{
|
||||
/* Build descriptor for an interrupt gate. */
|
||||
register struct gatedesc_s *idp;
|
||||
|
||||
Reference in New Issue
Block a user