patch-2.1.37 linux/net/ipx/af_ipx.c

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

diff -u --recursive --new-file v2.1.36/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -91,6 +91,7 @@
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
 #include <linux/firewall.h>
+#include <linux/init.h>
 
 #ifdef MODULE
 static void ipx_proto_finito(void);
@@ -2434,7 +2435,7 @@
  * sockets be closed from user space.
  */
 
-static void ipx_proto_finito(void)
+__initfunc(static void ipx_proto_finito(void))
 {	ipx_interface	*ifc;
 
 	while (ipx_interfaces) {

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