summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/sys_socket.c7
-rw-r--r--sys/sys/socketvar.h5
2 files changed, 5 insertions, 7 deletions
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c
index 8392110..f72f8a7 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.21 1999/01/31 03:15:13 newton Exp $
+ * $Id: sys_socket.c,v 1.22 1999/02/01 13:24:39 newton Exp $
*/
#include <sys/param.h>
@@ -49,11 +49,6 @@
#include <net/if.h>
#include <net/route.h>
-/* soo_{read,write,close} non-static for SysVR4 "streams" pseudo-device */
-int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred));
-int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred));
-int soo_close __P((struct file *fp, struct proc *p));
-
struct fileops socketops =
{ soo_read, soo_write, soo_ioctl, soo_poll, soo_close };
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h
index 58e8be3..9aef175 100644
--- a/sys/sys/socketvar.h
+++ b/sys/sys/socketvar.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)socketvar.h 8.3 (Berkeley) 2/19/95
- * $Id: socketvar.h,v 1.34 1999/01/30 06:26:35 newton Exp $
+ * $Id: socketvar.h,v 1.35 1999/01/31 09:40:14 bde Exp $
*/
#ifndef _SYS_SOCKETVAR_H_
@@ -287,6 +287,9 @@ struct uio;
/*
* File operations on sockets.
*/
+int soo_read __P((struct file *fp, struct uio *uio, struct ucred *cred));
+int soo_write __P((struct file *fp, struct uio *uio, struct ucred *cred));
+int soo_close __P((struct file *fp, struct proc *p));
int soo_ioctl __P((struct file *fp, u_long cmd, caddr_t data,
struct proc *p));
int soo_poll __P((struct file *fp, int events, struct ucred *cred,
OpenPOWER on IntegriCloud