patch-2.1.118 linux/net/socket.c

Next file: linux/net/sunrpc/clnt.c
Previous file: linux/net/netlink/netlink_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/net/socket.c linux/net/socket.c
@@ -122,6 +122,7 @@
 	sock_ioctl,
 	NULL,			/* mmap */
 	NULL,			/* no special open code... */
+	NULL,			/* flush */
 	sock_close,
 	NULL,			/* no fsync */
 	sock_fasync
@@ -1441,7 +1442,7 @@
 	return 0;
 }
 
-__initfunc(void proto_init(void))
+void __init proto_init(void)
 {
 	extern struct net_proto protocols[];	/* Network protocols */
 	struct net_proto *pro;
@@ -1461,7 +1462,7 @@
 extern void wanrouter_init(void);
 #endif
 
-__initfunc(void sock_init(void))
+void __init sock_init(void)
 {
 	int i;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov