Add missing prototypes.

This commit is contained in:
christos 1996-05-03 19:26:28 +00:00
parent 391a4ddc7c
commit 8fd0f1f8b3
6 changed files with 30 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.h,v 1.4 1995/08/27 20:57:18 fvdl Exp $ */
/* $NetBSD: linux_machdep.h,v 1.5 1996/05/03 19:26:28 christos Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@ -77,6 +77,7 @@ struct linux_sigframe {
};
void linux_sendsig __P((sig_t, int, int, u_long));
dev_t linux_fakedev __P((dev_t));
/*
* Major device numbers of VT device on both Linux and NetBSD. Used in

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.22 1996/02/12 21:12:29 christos Exp $ */
/* $NetBSD: pmap.h,v 1.23 1996/05/03 19:26:30 christos Exp $ */
/*
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -159,6 +159,8 @@ struct pv_entry *pv_table; /* array of entries, one per page */
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_update() tlbflush()
vm_offset_t reserve_dumppages __P((vm_offset_t));
static __inline void
pmap_clear_modify(vm_offset_t pa)
{
@ -195,6 +197,8 @@ pmap_phys_address(int ppn)
return i386_ptob(ppn);
}
void pmap_activate __P((pmap_t, struct pcb *));
#endif /* _KERNEL */
#endif /* _I386_PMAP_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: psl.h,v 1.27 1996/02/01 22:30:56 mycroft Exp $ */
/* $NetBSD: psl.h,v 1.28 1996/05/03 19:26:31 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -104,6 +104,11 @@ int imask[5];
extern void Xspllower __P((void));
static __inline int splraise __P((int));
static __inline int spllower __P((int));
static __inline void splx __P((int));
static __inline void softintr __P((int));
/*
* Add a mask to cpl, and return the old value of cpl.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm86.h,v 1.7 1996/04/30 10:35:28 mycroft Exp $ */
/* $NetBSD: vm86.h,v 1.8 1996/05/03 19:26:32 christos Exp $ */
#undef VM86_USE_VIF
@ -83,8 +83,14 @@ struct vm86_struct {
int i386_vm86 __P((struct proc *, char *, register_t *));
void vm86_gpfault __P((struct proc *, int));
void vm86_return __P((struct proc *, int));
static __inline void clr_vif __P((struct proc *));
static __inline void set_vif __P((struct proc *));
static __inline void set_vflags __P((struct proc *, int));
static __inline int get_vflags __P((struct proc *));
static __inline void set_vflags_short __P((struct proc *, int));
static __inline int get_vflags_short __P((struct proc *));
static __inline__ void
static __inline void
clr_vif(p)
struct proc *p;
{
@ -97,7 +103,7 @@ clr_vif(p)
#endif
}
static __inline__ void
static __inline void
set_vif(p)
struct proc *p;
{
@ -113,7 +119,7 @@ set_vif(p)
vm86_return(p, VM86_STI);
}
static __inline__ void
static __inline void
set_vflags(p, flags)
struct proc *p;
int flags;
@ -132,7 +138,7 @@ set_vflags(p, flags)
vm86_return(p, VM86_STI);
}
static __inline__ int
static __inline int
get_vflags(p)
struct proc *p;
{
@ -145,7 +151,7 @@ get_vflags(p)
return (flags);
}
static __inline__ void
static __inline void
set_vflags_short(p, flags)
struct proc *p;
int flags;
@ -162,7 +168,7 @@ set_vflags_short(p, flags)
#endif
}
static __inline__ int
static __inline int
get_vflags_short(p)
struct proc *p;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.h,v 1.4 1995/08/27 20:57:18 fvdl Exp $ */
/* $NetBSD: linux_machdep.h,v 1.5 1996/05/03 19:26:28 christos Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@ -77,6 +77,7 @@ struct linux_sigframe {
};
void linux_sendsig __P((sig_t, int, int, u_long));
dev_t linux_fakedev __P((dev_t));
/*
* Major device numbers of VT device on both Linux and NetBSD. Used in

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.h,v 1.4 1995/08/27 20:57:18 fvdl Exp $ */
/* $NetBSD: linux_machdep.h,v 1.5 1996/05/03 19:26:28 christos Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@ -77,6 +77,7 @@ struct linux_sigframe {
};
void linux_sendsig __P((sig_t, int, int, u_long));
dev_t linux_fakedev __P((dev_t));
/*
* Major device numbers of VT device on both Linux and NetBSD. Used in