From 5a82d0298943e1c4429659c6b6db3445d0ca3fc0 Mon Sep 17 00:00:00 2001 From: rrs Date: Thu, 22 Feb 2007 13:39:57 +0000 Subject: Fixes __FreeBSD__ being present (they should not) and also trailing garbage on undef of magic numbers. --- lib/libc/net/sctp_sys_calls.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lib') 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 __FBSDID("$FreeBSD$"); -#endif #include #include #include @@ -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 -- cgit v1.1