summaryrefslogtreecommitdiffstats
path: root/net/rose
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /net/rose
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'net/rose')
-rw-r--r--net/rose/.cvsignore1
-rw-r--r--net/rose/af_rose.c3
-rw-r--r--net/rose/sysctl_net_rose.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/net/rose/.cvsignore b/net/rose/.cvsignore
new file mode 100644
index 000000000..4671378ae
--- /dev/null
+++ b/net/rose/.cvsignore
@@ -0,0 +1 @@
+.depend
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index f173dedaf..f3309ade9 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -52,6 +52,7 @@
#include <net/ip.h>
#include <net/arp.h>
#include <linux/if_arp.h>
+#include <linux/init.h>
int sysctl_rose_restart_request_timeout = ROSE_DEFAULT_T0;
int sysctl_rose_call_request_timeout = ROSE_DEFAULT_T1;
@@ -1381,7 +1382,7 @@ static struct device dev_rose[] = {
{"rose5", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, rose_init}
};
-void rose_proto_init(struct net_proto *pro)
+__initfunc(void rose_proto_init(struct net_proto *pro))
{
int i;
diff --git a/net/rose/sysctl_net_rose.c b/net/rose/sysctl_net_rose.c
index c899a1837..8cd49695f 100644
--- a/net/rose/sysctl_net_rose.c
+++ b/net/rose/sysctl_net_rose.c
@@ -7,6 +7,7 @@
#include <linux/mm.h>
#include <linux/sysctl.h>
+#include <linux/init.h>
#include <net/ax25.h>
#include <net/rose.h>
@@ -58,7 +59,7 @@ static ctl_table rose_root_table[] = {
{0}
};
-void rose_register_sysctl(void)
+__initfunc(void rose_register_sysctl(void))
{
rose_table_header = register_sysctl_table(rose_root_table, 1);
}