patch-2.3.16 linux/net/wanrouter/wanproc.c
Next file: linux/net/x25/af_x25.c
Previous file: linux/net/wanrouter/wanmain.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Aug 26 14:13:59 1999
- Orig file:
v2.3.15/linux/net/wanrouter/wanproc.c
- Orig date:
Sun Jul 4 10:02:30 1999
diff -u --recursive --new-file v2.3.15/linux/net/wanrouter/wanproc.c linux/net/wanrouter/wanproc.c
@@ -26,7 +26,7 @@
#include <linux/malloc.h> /* kmalloc(), kfree() */
#include <linux/mm.h> /* verify_area(), etc. */
#include <linux/string.h> /* inline mem*, str* functions */
-#include <linux/init.h> /* __initfunc et al. */
+#include <linux/init.h> /* __init et al. */
#include <asm/segment.h> /* kernel <-> user copy */
#include <asm/byteorder.h> /* htons(), etc. */
#include <asm/uaccess.h> /* copy_to_user */
@@ -269,7 +269,7 @@
* Initialize router proc interface.
*/
-__initfunc(int wanrouter_proc_init (void))
+int __init wanrouter_proc_init (void)
{
int err = proc_register(proc_net, &proc_router);
@@ -543,7 +543,7 @@
* No /proc - output stubs
*/
-__initfunc(int wanrouter_proc_init(void))
+int __init wanrouter_proc_init(void)
{
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)