patch-2.1.37 linux/net/802/tr.c

Next file: linux/net/appletalk/aarp.c
Previous file: linux/net/802/psnap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/net/802/tr.c linux/net/802/tr.c
@@ -31,6 +31,7 @@
 #include <linux/timer.h>
 #include <linux/net.h>
 #include <linux/proc_fs.h>
+#include <linux/init.h>
 #include <net/arp.h>
 
 static void tr_source_route(struct trh_hdr *trh, struct device *dev);
@@ -460,7 +461,7 @@
  *	too much for this.
  */
  
-void rif_init(struct net_proto *unused) 
+__initfunc(void rif_init(struct net_proto *unused))
 {
 
 	rif_timer.expires  = RIF_TIMEOUT;

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