diff options
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index ba5983f34c42..a2caf00b82cc 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h | |||
@@ -196,12 +196,12 @@ static inline u32 vlan_get_ingress_priority(struct net_device *dev, | |||
196 | } | 196 | } |
197 | 197 | ||
198 | #ifdef CONFIG_VLAN_8021Q_GVRP | 198 | #ifdef CONFIG_VLAN_8021Q_GVRP |
199 | extern int vlan_gvrp_request_join(const struct net_device *dev); | 199 | int vlan_gvrp_request_join(const struct net_device *dev); |
200 | extern void vlan_gvrp_request_leave(const struct net_device *dev); | 200 | void vlan_gvrp_request_leave(const struct net_device *dev); |
201 | extern int vlan_gvrp_init_applicant(struct net_device *dev); | 201 | int vlan_gvrp_init_applicant(struct net_device *dev); |
202 | extern void vlan_gvrp_uninit_applicant(struct net_device *dev); | 202 | void vlan_gvrp_uninit_applicant(struct net_device *dev); |
203 | extern int vlan_gvrp_init(void); | 203 | int vlan_gvrp_init(void); |
204 | extern void vlan_gvrp_uninit(void); | 204 | void vlan_gvrp_uninit(void); |
205 | #else | 205 | #else |
206 | static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; } | 206 | static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; } |
207 | static inline void vlan_gvrp_request_leave(const struct net_device *dev) {} | 207 | static inline void vlan_gvrp_request_leave(const struct net_device *dev) {} |
@@ -212,12 +212,12 @@ static inline void vlan_gvrp_uninit(void) {} | |||
212 | #endif | 212 | #endif |
213 | 213 | ||
214 | #ifdef CONFIG_VLAN_8021Q_MVRP | 214 | #ifdef CONFIG_VLAN_8021Q_MVRP |
215 | extern int vlan_mvrp_request_join(const struct net_device *dev); | 215 | int vlan_mvrp_request_join(const struct net_device *dev); |
216 | extern void vlan_mvrp_request_leave(const struct net_device *dev); | 216 | void vlan_mvrp_request_leave(const struct net_device *dev); |
217 | extern int vlan_mvrp_init_applicant(struct net_device *dev); | 217 | int vlan_mvrp_init_applicant(struct net_device *dev); |
218 | extern void vlan_mvrp_uninit_applicant(struct net_device *dev); | 218 | void vlan_mvrp_uninit_applicant(struct net_device *dev); |
219 | extern int vlan_mvrp_init(void); | 219 | int vlan_mvrp_init(void); |
220 | extern void vlan_mvrp_uninit(void); | 220 | void vlan_mvrp_uninit(void); |
221 | #else | 221 | #else |
222 | static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; } | 222 | static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; } |
223 | static inline void vlan_mvrp_request_leave(const struct net_device *dev) {} | 223 | static inline void vlan_mvrp_request_leave(const struct net_device *dev) {} |
@@ -229,8 +229,8 @@ static inline void vlan_mvrp_uninit(void) {} | |||
229 | 229 | ||
230 | extern const char vlan_fullname[]; | 230 | extern const char vlan_fullname[]; |
231 | extern const char vlan_version[]; | 231 | extern const char vlan_version[]; |
232 | extern int vlan_netlink_init(void); | 232 | int vlan_netlink_init(void); |
233 | extern void vlan_netlink_fini(void); | 233 | void vlan_netlink_fini(void); |
234 | 234 | ||
235 | extern struct rtnl_link_ops vlan_link_ops; | 235 | extern struct rtnl_link_ops vlan_link_ops; |
236 | 236 | ||