Added prototypes here and there. Moved pfctlinput into socket.h.
This commit is contained in:
parent
4ffcc0d5e9
commit
5251e75557
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)conf.h 8.3 (Berkeley) 1/21/94
|
||||
* $Id: conf.h,v 1.2 1994/08/02 07:52:44 davidg Exp $
|
||||
* $Id: conf.h,v 1.3 1994/08/21 04:41:36 paul Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_CONF_H_
|
||||
@ -124,6 +124,11 @@ struct swdevt {
|
||||
|
||||
#ifdef KERNEL
|
||||
extern struct swdevt swdevt[];
|
||||
|
||||
int iskmemdev __P((dev_t));
|
||||
int iszerodev __P((dev_t));
|
||||
int isdisk __P((dev_t, int));
|
||||
int chrtoblk __P((dev_t));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)conf.h 8.3 (Berkeley) 1/21/94
|
||||
* $Id: conf.h,v 1.2 1994/08/02 07:52:44 davidg Exp $
|
||||
* $Id: conf.h,v 1.3 1994/08/21 04:41:36 paul Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_CONF_H_
|
||||
@ -124,6 +124,11 @@ struct swdevt {
|
||||
|
||||
#ifdef KERNEL
|
||||
extern struct swdevt swdevt[];
|
||||
|
||||
int iskmemdev __P((dev_t));
|
||||
int iszerodev __P((dev_t));
|
||||
int isdisk __P((dev_t, int));
|
||||
int chrtoblk __P((dev_t));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)protosw.h 8.1 (Berkeley) 6/2/93
|
||||
* $Id: protosw.h,v 1.3 1994/08/21 04:41:56 paul Exp $
|
||||
* $Id: protosw.h,v 1.4 1994/10/08 01:45:27 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PROTOSW_H_
|
||||
@ -211,7 +211,6 @@ char *prcorequests[] = {
|
||||
|
||||
#ifdef KERNEL
|
||||
extern struct protosw *pffindproto(), *pffindtype();
|
||||
void pfctlinput __P((int,struct sockaddr *));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)resourcevar.h 8.3 (Berkeley) 2/22/94
|
||||
* $Id: resourcevar.h,v 1.2 1994/08/02 07:53:29 davidg Exp $
|
||||
* $Id: resourcevar.h,v 1.3 1994/10/02 17:24:53 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_RESOURCEVAR_H_
|
||||
@ -85,6 +85,7 @@ struct plimit {
|
||||
#ifdef KERNEL
|
||||
void addupc_intr __P((struct proc *p, u_long pc, u_int ticks));
|
||||
void addupc_task __P((struct proc *p, u_long pc, u_int ticks));
|
||||
int addupc __P((int, struct uprof *, int));
|
||||
struct plimit
|
||||
*limcopy __P((struct plimit *lim));
|
||||
void calcru __P((struct proc *p,struct timeval *up,struct timeval *sp,struct timeval *ip));
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)socket.h 8.4 (Berkeley) 2/21/94
|
||||
* $Id: socket.h,v 1.2 1994/08/02 07:53:35 davidg Exp $
|
||||
* $Id: socket.h,v 1.3 1994/10/02 17:24:56 phk Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SOCKET_H_
|
||||
@ -337,5 +337,7 @@ int socket __P((int, int, int));
|
||||
int socketpair __P((int, int, int, int *));
|
||||
__END_DECLS
|
||||
|
||||
#else /* KERNEL */
|
||||
void pfctlinput __P((int, struct sockaddr *));
|
||||
#endif /* !KERNEL */
|
||||
#endif /* !_SYS_SOCKET_H_ */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ucred.h 8.2 (Berkeley) 1/4/94
|
||||
* $Id: ucred.h,v 1.2 1994/08/02 07:54:00 davidg Exp $
|
||||
* $Id: ucred.h,v 1.3 1994/08/18 22:35:51 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_UCRED_H_
|
||||
@ -57,6 +57,8 @@ struct ucred *crcopy(struct ucred *);
|
||||
struct ucred *crdup(struct ucred *);
|
||||
extern void crfree(struct ucred *);
|
||||
extern int suser(struct ucred *, short *);
|
||||
int groupmember __P((gid_t, struct ucred *));
|
||||
|
||||
#endif /* KERNEL */
|
||||
|
||||
#endif /* !_SYS_UCRED_H_ */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
|
||||
* $Id: vnode.h,v 1.10 1994/10/02 17:25:04 phk Exp $
|
||||
* $Id: vnode.h,v 1.11 1994/10/05 09:48:39 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_VNODE_H_
|
||||
@ -415,6 +415,7 @@ void vprint __P((char *, struct vnode *));
|
||||
void vput __P((struct vnode *vp));
|
||||
void vref __P((struct vnode *vp));
|
||||
void vrele __P((struct vnode *vp));
|
||||
int vn_writechk __P((struct vnode *vp));
|
||||
|
||||
void vfs_opv_init __P((struct vnodeopv_desc **));
|
||||
#endif /* KERNEL */
|
||||
|
Loading…
Reference in New Issue
Block a user