diff options
author | rrs <rrs@FreeBSD.org> | 2007-02-22 13:39:57 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2007-02-22 13:39:57 +0000 |
commit | 5a82d0298943e1c4429659c6b6db3445d0ca3fc0 (patch) | |
tree | f9d67fb30f1a54e22864ef3586cca1d5371ab4df /lib | |
parent | d35264cb57b02b22b1ef6f0e78e560a5cc007bde (diff) | |
download | FreeBSD-src-5a82d0298943e1c4429659c6b6db3445d0ca3fc0.zip FreeBSD-src-5a82d0298943e1c4429659c6b6db3445d0ca3fc0.tar.gz |
Fixes __FreeBSD__ being present (they should not)
and also trailing garbage on undef of magic numbers.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sctp_sys_calls.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c index 90098cc..6746c38 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -28,10 +28,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -#ifdef __FreeBSD__ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#endif #include <stdio.h> #include <string.h> #include <errno.h> @@ -842,7 +840,7 @@ sctp_peeloff(int sd, sctp_assoc_t assoc_id) #endif -#undef SCTP_CONTROL_VEC_SIZE_SND 8192 -#undef SCTP_CONTROL_VEC_SIZE_RCV 16384 -#undef SCTP_STACK_BUF_SIZE 2048 -#undef SCTP_SMALL_IOVEC_SIZE 2 +#undef SCTP_CONTROL_VEC_SIZE_SND +#undef SCTP_CONTROL_VEC_SIZE_RCV +#undef SCTP_STACK_BUF_SIZE +#undef SCTP_SMALL_IOVEC_SIZE |