Commit b7080c48 authored by Jon Grimm's avatar Jon Grimm Committed by Jon Grimm

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.
parent dd18325f
......@@ -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.
*/
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment