patch-2.1.37 linux/net/wanrouter/wanmain.c
Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 12 10:35:45 1997
- Orig file:
v2.1.36/linux/net/wanrouter/wanmain.c
- Orig date:
Sun Feb 2 05:18:52 1997
diff -u --recursive --new-file v2.1.36/linux/net/wanrouter/wanmain.c linux/net/wanrouter/wanmain.c
@@ -34,6 +34,7 @@
#include <asm/byteorder.h> /* htons(), etc. */
#include <asm/uaccess.h> /* copy_to/from_user */
#include <linux/wanrouter.h> /* WAN router API definitions */
+#include <linux/init.h> /* __initfunc et al. */
/****** Defines and Macros **************************************************/
@@ -130,7 +131,7 @@
#else
-void wanrouter_init(void)
+__initfunc(void wanrouter_init(void))
{
int err = wanrouter_proc_init();
if (err) printk(KERN_ERR
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov