From: Remco Rijnders Date: Mon, 26 Jan 2026 21:15:37 +0000 (+0000) Subject: CLEANUP: PCS, SVR3, DYNIXPTX, sgi, _SEQUENT_ conditionals X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=d50748fcf5c2ad14c16db0e76fcb19b7cff6b071;p=serene-ircd.git CLEANUP: PCS, SVR3, DYNIXPTX, sgi, _SEQUENT_ conditionals --- diff --git a/include/dbuf.h b/include/dbuf.h index c7b1077..17acf8a 100644 --- a/include/dbuf.h +++ b/include/dbuf.h @@ -43,7 +43,6 @@ ** implementation of this package without changing the ** interface. */ -#if !defined(_SEQUENT_) typedef struct dbuf { u_int length; /* Current number of bytes stored */ @@ -52,16 +51,6 @@ typedef struct dbuf /* added by mnystrom@mit.edu: */ struct dbufbuf *tail; /* last data buffer, if length > 0 */ } dbuf; -#else -typedef struct dbuf - { - uint length; /* Current number of bytes stored */ - uint offset; /* Offset to the first byte */ - struct dbufbuf *head; /* First data buffer, if length > 0 */ - /* added by mnystrom@mit.edu: */ - struct dbufbuf *tail; /* last data buffer, if length > 0 */ - } dbuf; -#endif /* ** And this 'dbufbuf' should never be referenced outside the ** implementation of 'dbuf'--would be "hidden" if C had such diff --git a/src/s_bsd.c b/src/s_bsd.c index ec04649..43fd29d 100644 --- a/src/s_bsd.c +++ b/src/s_bsd.c @@ -28,9 +28,7 @@ #include #include #include -#if (!defined(SVR3) || defined(sgi) || defined(_SEQUENT_)) #include -#endif #include #include #include @@ -336,13 +334,8 @@ void init_sys () } } #endif -#if defined(PCS) || defined(DYNIXPTX) || defined(SVR3) - char logbuf[BUFSIZ]; - - (void) setvbuf (stderr, logbuf, _IOLBF, sizeof (logbuf)); -#else (void) setlinebuf (stderr); -#endif + for (fd = 3; fd < MAXCONNECTIONS; fd++) { (void) close (fd); local[fd] = NULL; diff --git a/src/support.c b/src/support.c index f569bab..5cd3127 100644 --- a/src/support.c +++ b/src/support.c @@ -18,10 +18,6 @@ */ #include "config.h" -#ifdef DYNIXPTX -#include -#include -#endif #include "struct.h" #include "common.h" #include "sys.h"