diff options
| author | Jon Grimm <jgrimm@touki.austin.ibm.com> | 2002-09-27 05:42:26 -0500 |
|---|---|---|
| committer | Jon Grimm <jgrimm@jgrimm.austin.ibm.com> | 2002-09-27 05:42:26 -0500 |
| commit | b7080c483f6be4463390f18a331ff36c96030d46 (patch) | |
| tree | 25c58fe77cae303b197a43d8d7e38d37603bf42b /include/net | |
| parent | dd18325fa22cf34f76cd78595125488888be0306 (diff) | |
sctp: mark functions needed by testsuite as SCTP_STATIC
The lksctp project implemenents a regressions suite which needs
certain functions exported. SCTP_STATIC is used to compile
the function as 'static' when not in the testsuite.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/sctp/sctp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index d45cdd15f939..56de3338ade2 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h @@ -103,6 +103,14 @@ #define SCTP_PROTOSW_FLAG INET_PROTOSW_PERMANENT #endif + +/* Certain internal static functions need to be exported when + * compiled into the test frame. + */ +#ifndef SCTP_STATIC +#define SCTP_STATIC static +#endif + /* * Function declarations. */ |
