aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ipx.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-21 13:22:43 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-21 14:01:38 -0400
commit9d03626a28fd8c14511c96826cb4ca2112fb7709 (patch)
treed114684f9397db75960cd3504930bf97a1bd78e3 /include/net/ipx.h
parent5c3a0fd7d0fc2985fcd540aa9d7656dcc2d57b41 (diff)
ipx.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/ipx.h')
-rw-r--r--include/net/ipx.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/ipx.h b/include/net/ipx.h
index c1fec6b464cc..9e9e35465baf 100644
--- a/include/net/ipx.h
+++ b/include/net/ipx.h
@@ -123,23 +123,23 @@ extern struct list_head ipx_routes;
123extern rwlock_t ipx_routes_lock; 123extern rwlock_t ipx_routes_lock;
124 124
125extern struct list_head ipx_interfaces; 125extern struct list_head ipx_interfaces;
126extern struct ipx_interface *ipx_interfaces_head(void); 126struct ipx_interface *ipx_interfaces_head(void);
127extern spinlock_t ipx_interfaces_lock; 127extern spinlock_t ipx_interfaces_lock;
128 128
129extern struct ipx_interface *ipx_primary_net; 129extern struct ipx_interface *ipx_primary_net;
130 130
131extern int ipx_proc_init(void); 131int ipx_proc_init(void);
132extern void ipx_proc_exit(void); 132void ipx_proc_exit(void);
133 133
134extern const char *ipx_frame_name(__be16); 134const char *ipx_frame_name(__be16);
135extern const char *ipx_device_name(struct ipx_interface *intrfc); 135const char *ipx_device_name(struct ipx_interface *intrfc);
136 136
137static __inline__ void ipxitf_hold(struct ipx_interface *intrfc) 137static __inline__ void ipxitf_hold(struct ipx_interface *intrfc)
138{ 138{
139 atomic_inc(&intrfc->refcnt); 139 atomic_inc(&intrfc->refcnt);
140} 140}
141 141
142extern void ipxitf_down(struct ipx_interface *intrfc); 142void ipxitf_down(struct ipx_interface *intrfc);
143 143
144static __inline__ void ipxitf_put(struct ipx_interface *intrfc) 144static __inline__ void ipxitf_put(struct ipx_interface *intrfc)
145{ 145{