diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 22965f510248..a29e0d330f8e 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_exit.c 8.7 (Berkeley) 2/12/94 - * $Id: kern_exit.c,v 1.71 1999/01/07 21:23:41 julian Exp $ + * $Id: kern_exit.c,v 1.72 1999/01/26 02:38:10 julian Exp $ */ #include "opt_compat.h" @@ -75,7 +75,7 @@ #include #include -static MALLOC_DEFINE(M_ZOMBIE, "zombie", "zombie proc status"); +MALLOC_DEFINE(M_ZOMBIE, "zombie", "zombie proc status"); static int wait1 __P((struct proc *, struct wait_args *, int)); diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index 1bad1d2f0471..d7591a15e141 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_resource.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_resource.c,v 1.37 1998/05/28 09:30:18 phk Exp $ + * $Id: kern_resource.c,v 1.38 1998/07/27 19:16:21 bde Exp $ */ #include "opt_compat.h" @@ -59,7 +59,7 @@ #include static int donice __P((struct proc *curp, struct proc *chgp, int n)); -static int dosetrlimit __P((struct proc *p, u_int which, struct rlimit *limp)); +int dosetrlimit __P((struct proc *p, u_int which, struct rlimit *limp)); /* * Resource controls and accounting. @@ -363,7 +363,7 @@ setrlimit(p, uap) return (dosetrlimit(p, uap->which, &alim)); } -static int +int dosetrlimit(p, which, limp) struct proc *p; u_int which; diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c index 8cf30cdcaf55..b001ff8c74c2 100644 --- a/sys/kern/sys_socket.c +++ b/sys/kern/sys_socket.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)sys_socket.c 8.1 (Berkeley) 6/10/93 - * $Id: sys_socket.c,v 1.18 1998/06/07 17:11:40 dfr Exp $ + * $Id: sys_socket.c,v 1.19 1998/11/11 10:03:56 truckman Exp $ */ #include @@ -49,17 +49,17 @@ #include #include -static int soo_read __P((struct file *fp, struct uio *uio, +int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred)); -static int soo_write __P((struct file *fp, struct uio *uio, +int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred)); -static int soo_close __P((struct file *fp, struct proc *p)); +int soo_close __P((struct file *fp, struct proc *p)); struct fileops socketops = { soo_read, soo_write, soo_ioctl, soo_poll, soo_close }; /* ARGSUSED */ -static int +int soo_read(fp, uio, cred) struct file *fp; struct uio *uio; @@ -70,7 +70,7 @@ soo_read(fp, uio, cred) } /* ARGSUSED */ -static int +int soo_write(fp, uio, cred) struct file *fp; struct uio *uio; @@ -168,7 +168,7 @@ soo_stat(so, ub) } /* ARGSUSED */ -static int +int soo_close(fp, p) struct file *fp; struct proc *p;