summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_socket.c
diff options
context:
space:
mode:
authornewton <newton@FreeBSD.org>1999-01-30 06:25:00 +0000
committernewton <newton@FreeBSD.org>1999-01-30 06:25:00 +0000
commit3a4cced85e34bb367db0c471ee6e8f6429ea4e34 (patch)
treebfbdc3e89b6cb8167083aa86b4863bb049e40e7d /sys/kern/sys_socket.c
parent6a94e83a778dbe0ab7d4e560c8c7694a60c30050 (diff)
downloadFreeBSD-src-3a4cced85e34bb367db0c471ee6e8f6429ea4e34.zip
FreeBSD-src-3a4cced85e34bb367db0c471ee6e8f6429ea4e34.tar.gz
Unstaticized routines which are needed by the svr4 KLD and the streams
garbage needed to support SysVR4 networking.
Diffstat (limited to 'sys/kern/sys_socket.c')
-rw-r--r--sys/kern/sys_socket.c14
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;
OpenPOWER on IntegriCloud