patch-2.1.37 linux/net/unix/af_unix.c

Next file: linux/net/wanrouter/wanmain.c
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -81,6 +81,7 @@
 #include <net/af_unix.h>
 #include <linux/proc_fs.h>
 #include <net/scm.h>
+#include <linux/init.h>
 
 #include <asm/checksum.h>
 
@@ -1459,7 +1460,7 @@
 	unix_create
 };
 
-void unix_proto_init(struct net_proto *pro)
+__initfunc(void unix_proto_init(struct net_proto *pro))
 {
 	struct sk_buff *dummy_skb;
 	struct proc_dir_entry *ent;

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