From 29401f29b3e818a74eab7334046bbb37173edffc Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 15 Nov 2016 21:41:57 +0100 Subject: drop platform support: unifdef DGUX. Relates to ArcticaProject/nx-libs#275. --- nx-X11/programs/Xserver/os/access.c | 20 +++----------------- nx-X11/programs/Xserver/os/connection.c | 12 ------------ nx-X11/programs/Xserver/os/rpcauth.c | 5 ----- nx-X11/programs/Xserver/os/utils.c | 10 ---------- nx-X11/programs/Xserver/os/xdmcp.c | 5 ----- 5 files changed, 3 insertions(+), 49 deletions(-) (limited to 'nx-X11/programs') diff --git a/nx-X11/programs/Xserver/os/access.c b/nx-X11/programs/Xserver/os/access.c index de81c5141..e45645cda 100644 --- a/nx-X11/programs/Xserver/os/access.c +++ b/nx-X11/programs/Xserver/os/access.c @@ -91,20 +91,6 @@ SOFTWARE. # endif #endif -#if defined(DGUX) -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#endif - - #if defined(QNX4) # include # ifdef HAS_IFREQ @@ -307,7 +293,7 @@ AccessUsingXdmcp (void) } -#if ((defined(SVR4) && !defined(DGUX) && !defined(SCO325) && !defined(sun) && !defined(NCR)) || defined(ISC)) && !defined(__sgi) && defined(SIOCGIFCONF) && !defined(USE_SIOCGLIFCONF) +#if ((defined(SVR4) && !defined(SCO325) && !defined(sun) && !defined(NCR)) || defined(ISC)) && !defined(__sgi) && defined(SIOCGIFCONF) && !defined(USE_SIOCGLIFCONF) /* Deal with different SIOCGIFCONF ioctl semantics on these OSs */ @@ -356,9 +342,9 @@ ifioctl (int fd, int cmd, char *arg) #endif return(ret); } -#else /* Case DGUX, sun, SCO325 NCR and others */ +#else /* Case sun, SCO325 NCR and others */ #define ifioctl ioctl -#endif /* ((SVR4 && !DGUX !sun !SCO325 !NCR) || ISC) && SIOCGIFCONF */ +#endif /* ((SVR4 && !sun !SCO325 !NCR) || ISC) && SIOCGIFCONF */ /* * DefineSelf (fd): diff --git a/nx-X11/programs/Xserver/os/connection.c b/nx-X11/programs/Xserver/os/connection.c index f2172e0ad..458daab54 100644 --- a/nx-X11/programs/Xserver/os/connection.c +++ b/nx-X11/programs/Xserver/os/connection.c @@ -82,18 +82,6 @@ SOFTWARE. #ifndef WIN32 #include -#if defined(DGUX) -#include -#include -#include -#include -#include -#include -#include -#include -#endif - - #if defined(TCPCONN) # include # include diff --git a/nx-X11/programs/Xserver/os/rpcauth.c b/nx-X11/programs/Xserver/os/rpcauth.c index 2a6874f4a..678bedf6c 100644 --- a/nx-X11/programs/Xserver/os/rpcauth.c +++ b/nx-X11/programs/Xserver/os/rpcauth.c @@ -51,11 +51,6 @@ from The Open Group. extern bool_t xdr_opaque_auth(XDR *, struct opaque_auth *); #endif -#if defined(DGUX) -#include -#include -#endif /* DGUX */ - #ifdef ultrix #include #include diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c index a6a42261c..540de2835 100644 --- a/nx-X11/programs/Xserver/os/utils.c +++ b/nx-X11/programs/Xserver/os/utils.c @@ -124,11 +124,6 @@ OR PERFORMANCE OF THIS SOFTWARE. #include #include -#if defined(DGUX) -#include -#include -#endif - #include /* for malloc() */ #if defined(TCPCONN) @@ -318,11 +313,6 @@ OsSignal(sig, handler) #define LOCK_PREFIX "/.X" #define LOCK_SUFFIX "-lock" -#if defined(DGUX) -#include -#include -#endif - #ifndef PATH_MAX #include #ifndef PATH_MAX diff --git a/nx-X11/programs/Xserver/os/xdmcp.c b/nx-X11/programs/Xserver/os/xdmcp.c index 31f013296..83e234b43 100644 --- a/nx-X11/programs/Xserver/os/xdmcp.c +++ b/nx-X11/programs/Xserver/os/xdmcp.c @@ -45,11 +45,6 @@ #include "dixstruct.h" #include "opaque.h" -#if defined(DGUX) -#include -#include -#endif - #ifndef NX_TRANS_SOCKET -- cgit v1.2.3