From 2c0d559d1e4d0fa8a012c2a0dbcdb01ee88bd52e Mon Sep 17 00:00:00 2001 From: Randall Stewart Date: Thu, 22 Feb 2007 13:39:57 +0000 Subject: [PATCH] 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(-) diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c index 90098ccfc28..6746c385a8c 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