patch-2.1.37 linux/net/netbeui/af_netbeui.c

Next file: linux/net/netlink.c
Previous file: linux/net/lapb/lapb_iface.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/netbeui/af_netbeui.c linux/net/netbeui/af_netbeui.c
@@ -31,6 +31,7 @@
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
 #include <linux/firewall.h>
+#include <linux/init.h>
 
 
 #undef NETBEUI_DEBUG
@@ -620,7 +621,7 @@
 
 /* Called by proto.c on kernel start up */
 
-void netbeui_proto_init(struct net_proto *pro)
+__initfunc(void netbeui_proto_init(struct net_proto *pro))
 {
 	(void) sock_register(netbeui_proto_ops.family, &netbeui_proto_ops);
 	if ((nb_dl = register_8022_client(nb_8022_id, netbeui_rcv)) == NULL)

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