diff options
Diffstat (limited to 'include/net/x25.h')
-rw-r--r-- | include/net/x25.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/x25.h b/include/net/x25.h index 2cda04011568..9baa07dc7d17 100644 --- a/include/net/x25.h +++ b/include/net/x25.h | |||
@@ -287,8 +287,14 @@ extern unsigned long x25_display_timer(struct sock *); | |||
287 | extern void x25_check_rbuf(struct sock *); | 287 | extern void x25_check_rbuf(struct sock *); |
288 | 288 | ||
289 | /* sysctl_net_x25.c */ | 289 | /* sysctl_net_x25.c */ |
290 | #ifdef CONFIG_SYSCTL | ||
290 | extern void x25_register_sysctl(void); | 291 | extern void x25_register_sysctl(void); |
291 | extern void x25_unregister_sysctl(void); | 292 | extern void x25_unregister_sysctl(void); |
293 | #else | ||
294 | static inline void x25_register_sysctl(void) {}; | ||
295 | static inline void x25_unregister_sysctl(void) {}; | ||
296 | #endif /* CONFIG_SYSCTL */ | ||
297 | |||
292 | struct x25_skb_cb { | 298 | struct x25_skb_cb { |
293 | unsigned flags; | 299 | unsigned flags; |
294 | }; | 300 | }; |