diff options
author | David S. Miller <davem@davemloft.net> | 2008-03-21 06:42:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-21 06:42:24 -0400 |
commit | a25606c845856e5ca5ed54d23cab077e3a49bf10 (patch) | |
tree | 1721e46532d6f48d605d401d7cee83f78f551c45 /include | |
parent | 938b93adb2642885e688390396472d22a7548748 (diff) | |
parent | 94833dfb8c98ed4ca1944dd2c1339d88a2d1c758 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include')
-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 | ||