summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2004-08-15 05:06:03 -0700
committerDavid S. Miller <davem@kernel.bkbits.net>2004-08-15 05:06:03 -0700
commit0c537a4cb3883683a747eeea17152886268a0a28 (patch)
treebc33585d2ec58d9d870d762f252ca34d42761138
parent4d8021616effa7a49b6df2ad0083dcce6016a3a7 (diff)
[ATM]: Missing static in atm.
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@redhat.com>
-rw-r--r--net/atm/clip.c4
-rw-r--r--net/atm/ipcommon.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c
index 4417df3fafa6..5de7c1fd73b5 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -47,8 +47,8 @@
#endif
-struct net_device *clip_devs = NULL;
-struct atm_vcc *atmarpd = NULL;
+static struct net_device *clip_devs;
+static struct atm_vcc *atmarpd;
static struct neigh_table clip_tbl;
static struct timer_list idle_timer;
static int start_timer = 1;
diff --git a/net/atm/ipcommon.h b/net/atm/ipcommon.h
index bc1675eca081..d72165f60939 100644
--- a/net/atm/ipcommon.h
+++ b/net/atm/ipcommon.h
@@ -12,9 +12,6 @@
#include <linux/netdevice.h>
#include <linux/atmdev.h>
-
-extern struct net_device *clip_devs;
-
/*
* Appends all skbs from "from" to "to". The operation is atomic with respect
* to all other skb operations on "from" or "to".