diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/sctp/sctp.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index a653eb3e1e70..dbfde62f3608 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -375,15 +375,19 @@ static inline void sctp_sysctl_unregister(void) { return; } | |||
375 | 375 | ||
376 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) | 376 | #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) |
377 | 377 | ||
378 | int sctp_v6_init(void); | 378 | void sctp_v6_pf_init(void); |
379 | void sctp_v6_exit(void); | 379 | void sctp_v6_pf_exit(void); |
380 | int sctp_v6_protosw_init(void); | ||
381 | void sctp_v6_protosw_exit(void); | ||
380 | int sctp_v6_add_protocol(void); | 382 | int sctp_v6_add_protocol(void); |
381 | void sctp_v6_del_protocol(void); | 383 | void sctp_v6_del_protocol(void); |
382 | 384 | ||
383 | #else /* #ifdef defined(CONFIG_IPV6) */ | 385 | #else /* #ifdef defined(CONFIG_IPV6) */ |
384 | 386 | ||
385 | static inline int sctp_v6_init(void) { return 0; } | 387 | static inline void sctp_v6_pf_init(void) { return 0; } |
386 | static inline void sctp_v6_exit(void) { return; } | 388 | static inline void sctp_v6_pf_exit(void) { return; } |
389 | static inline int sctp_v6_protosw_init(void) { return 0; } | ||
390 | static inline void sctp_v6_protosw_exit(void) { return; } | ||
387 | static inline int sctp_v6_add_protocol(void) { return 0; } | 391 | static inline int sctp_v6_add_protocol(void) { return 0; } |
388 | static inline void sctp_v6_del_protocol(void) { return; } | 392 | static inline void sctp_v6_del_protocol(void) { return; } |
389 | 393 | ||