aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/sctp/sctp.h12
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
378int sctp_v6_init(void); 378void sctp_v6_pf_init(void);
379void sctp_v6_exit(void); 379void sctp_v6_pf_exit(void);
380int sctp_v6_protosw_init(void);
381void sctp_v6_protosw_exit(void);
380int sctp_v6_add_protocol(void); 382int sctp_v6_add_protocol(void);
381void sctp_v6_del_protocol(void); 383void sctp_v6_del_protocol(void);
382 384
383#else /* #ifdef defined(CONFIG_IPV6) */ 385#else /* #ifdef defined(CONFIG_IPV6) */
384 386
385static inline int sctp_v6_init(void) { return 0; } 387static inline void sctp_v6_pf_init(void) { return 0; }
386static inline void sctp_v6_exit(void) { return; } 388static inline void sctp_v6_pf_exit(void) { return; }
389static inline int sctp_v6_protosw_init(void) { return 0; }
390static inline void sctp_v6_protosw_exit(void) { return; }
387static inline int sctp_v6_add_protocol(void) { return 0; } 391static inline int sctp_v6_add_protocol(void) { return 0; }
388static inline void sctp_v6_del_protocol(void) { return; } 392static inline void sctp_v6_del_protocol(void) { return; }
389 393