patch-2.1.37 linux/net/core/firewall.c
Next file: linux/net/core/scm.c
Previous file: linux/net/ax25/af_ax25.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 12 10:35:44 1997
- Orig file:
v2.1.36/linux/net/core/firewall.c
- Orig date:
Thu Mar 27 14:40:14 1997
diff -u --recursive --new-file v2.1.36/linux/net/core/firewall.c linux/net/core/firewall.c
@@ -10,6 +10,7 @@
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/firewall.h>
+#include <linux/init.h>
#include <asm/semaphore.h>
struct semaphore firewall_sem = MUTEX;
@@ -150,7 +151,7 @@
EXPORT_SYMBOL(call_out_firewall);
EXPORT_SYMBOL(call_fw_firewall);
-void fwchain_init(void)
+__initfunc(void fwchain_init(void))
{
int i;
for(i=0;i<NPROTO;i++)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov