diff options
Diffstat (limited to 'sys/kern/sys_socket.c')
-rw-r--r-- | sys/kern/sys_socket.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c index 8cf30cd..b001ff8 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 <sys/param.h> @@ -49,17 +49,17 @@ #include <net/if.h> #include <net/route.h> -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; |