aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/garp.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-20 14:23:25 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-20 14:49:33 -0400
commit2008f21cbdc48761270cec119c8385584691cf34 (patch)
treea1a82d6c26d49dd4d269f0d25985fc715a3a645d /include/net/garp.h
parent4787342c390a8e7570a81a62c9b361d7a4380893 (diff)
garp.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/garp.h')
-rw-r--r--include/net/garp.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/include/net/garp.h b/include/net/garp.h
index 834d8add9e5f..abf33bbd2e6a 100644
--- a/include/net/garp.h
+++ b/include/net/garp.h
@@ -112,19 +112,18 @@ struct garp_port {
112 struct rcu_head rcu; 112 struct rcu_head rcu;
113}; 113};
114 114
115extern int garp_register_application(struct garp_application *app); 115int garp_register_application(struct garp_application *app);
116extern void garp_unregister_application(struct garp_application *app); 116void garp_unregister_application(struct garp_application *app);
117 117
118extern int garp_init_applicant(struct net_device *dev, 118int garp_init_applicant(struct net_device *dev, struct garp_application *app);
119 struct garp_application *app); 119void garp_uninit_applicant(struct net_device *dev,
120extern void garp_uninit_applicant(struct net_device *dev, 120 struct garp_application *app);
121 struct garp_application *app); 121
122 122int garp_request_join(const struct net_device *dev,
123extern int garp_request_join(const struct net_device *dev, 123 const struct garp_application *app, const void *data,
124 const struct garp_application *app, 124 u8 len, u8 type);
125 const void *data, u8 len, u8 type); 125void garp_request_leave(const struct net_device *dev,
126extern void garp_request_leave(const struct net_device *dev, 126 const struct garp_application *app,
127 const struct garp_application *app, 127 const void *data, u8 len, u8 type);
128 const void *data, u8 len, u8 type);
129 128
130#endif /* _NET_GARP_H */ 129#endif /* _NET_GARP_H */