patch-1.3.17 linux/net/socket.c

Next file: linux/net/unix/Makefile
Previous file: linux/net/netrom/nr_route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.16/linux/net/socket.c linux/net/socket.c
@@ -62,6 +62,7 @@
 #include <linux/net.h>
 #include <linux/interrupt.h>
 #include <linux/netdevice.h>
+#include <linux/proc_fs.h>
 
 #include <asm/system.h>
 #include <asm/segment.h>
@@ -78,6 +79,9 @@
 static int sock_ioctl(struct inode *inode, struct file *file,
 		      unsigned int cmd, unsigned long arg);
 static int sock_fasync(struct inode *inode, struct file *filp, int on);
+
+extern int proc_net_register(struct proc_dir_entry *);
+extern int proc_net_unregister(int);
 		   
 
 
@@ -1330,7 +1334,7 @@
 	{
 		if (pops[i] == NULL) 
 			continue;
-		if(pops[i]->family == family)
+		if (pops[i]->family == family)
 		{
 			pops[i]=NULL;
 			sti();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this