patch-2.1.71 linux/net/unix/af_unix.c
Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Wed Dec 3 10:34:16 1997
- Orig file:
v2.1.70/linux/net/unix/af_unix.c
- Orig date:
Mon Dec 1 12:04:18 1997
diff -u --recursive --new-file v2.1.70/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -1475,8 +1475,10 @@
};
#ifdef MODULE
+#ifdef CONFIG_SYSCTL
extern void unix_sysctl_register(void);
extern void unix_sysctl_unregister(void);
+#endif
int init_module(void)
#else
@@ -1503,7 +1505,9 @@
#endif
#ifdef MODULE
+#ifdef CONFIG_SYSCTL
unix_sysctl_register();
+#endif
return 0;
#endif
@@ -1513,7 +1517,9 @@
void cleanup_module(void)
{
sock_unregister(AF_UNIX);
+#ifdef CONFIG_SYSCTL
unix_sysctl_unregister();
+#endif
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov