summaryrefslogtreecommitdiff
path: root/include/net/dn_neigh.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-20 11:23:20 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-20 14:49:32 -0400
commit59ddd965c2388720681eb4dc386bfb074e80788e (patch)
tree82129a47ef40cbaea0d7e004ef17ba672d4c671d /include/net/dn_neigh.h
parent126c623b3980e7c2dd68777171f5b6b6ab352912 (diff)
decnet (dn*.h): Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn_neigh.h')
-rw-r--r--include/net/dn_neigh.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/dn_neigh.h b/include/net/dn_neigh.h
index 4cb4ae7fb81f..fac4e3f4a6d3 100644
--- a/include/net/dn_neigh.h
+++ b/include/net/dn_neigh.h
@@ -16,12 +16,12 @@ struct dn_neigh {
__u8 priority;
};
-extern void dn_neigh_init(void);
-extern void dn_neigh_cleanup(void);
-extern int dn_neigh_router_hello(struct sk_buff *skb);
-extern int dn_neigh_endnode_hello(struct sk_buff *skb);
-extern void dn_neigh_pointopoint_hello(struct sk_buff *skb);
-extern int dn_neigh_elist(struct net_device *dev, unsigned char *ptr, int n);
+void dn_neigh_init(void);
+void dn_neigh_cleanup(void);
+int dn_neigh_router_hello(struct sk_buff *skb);
+int dn_neigh_endnode_hello(struct sk_buff *skb);
+void dn_neigh_pointopoint_hello(struct sk_buff *skb);
+int dn_neigh_elist(struct net_device *dev, unsigned char *ptr, int n);
extern struct neigh_table dn_neigh_table;