patch-2.1.37 linux/net/rose/af_rose.c

Next file: linux/net/rose/sysctl_net_rose.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/rose/af_rose.c linux/net/rose/af_rose.c
@@ -52,6 +52,7 @@
 #include <net/ip.h>
 #include <net/arp.h>
 #include <linux/if_arp.h>
+#include <linux/init.h>
 
 int sysctl_rose_restart_request_timeout = ROSE_DEFAULT_T0;
 int sysctl_rose_call_request_timeout    = ROSE_DEFAULT_T1;
@@ -1381,7 +1382,7 @@
 	{"rose5", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, rose_init}
 };
 
-void rose_proto_init(struct net_proto *pro)
+__initfunc(void rose_proto_init(struct net_proto *pro))
 {
 	int i;
 

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