From bd8bd2c700e6ccac53b47c45766c0a3a08a59344 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 23 Jul 2008 13:36:35 -0400 Subject: [PATCH] Unifdef AIX. --- hw/vfb/InitOutput.c | 5 ----- hw/xnest/Init.c | 5 ----- include/servermd.h | 7 ------- os/connection.c | 3 --- os/utils.c | 19 ------------------- xkb/ddxLoad.c | 2 +- 6 files changed, 1 insertion(+), 40 deletions(-) diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c index bdd1f934f..6bf6a33a1 100644 --- a/hw/vfb/InitOutput.c +++ b/hw/vfb/InitOutput.c @@ -1022,8 +1022,3 @@ InitOutput(ScreenInfo *screenInfo, int argc, char **argv) } } /* end InitOutput */ - -/* this is just to get the server to link on AIX */ -#ifdef AIXV3 -int SelectWaitTime = 10000; /* usec */ -#endif diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c index f52445c00..f80bbd121 100644 --- a/hw/xnest/Init.c +++ b/hw/xnest/Init.c @@ -140,8 +140,3 @@ void ddxBeforeReset(void) { return; } - -/* this is just to get the server to link on AIX */ -#ifdef AIXV3 -int SelectWaitTime = 10000; /* usec */ -#endif diff --git a/include/servermd.h b/include/servermd.h index 866242609..2b937ffef 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -150,13 +150,6 @@ SOFTWARE. #endif /* sun && !(i386 && SVR4) */ -#if defined(AIXV3) - -#define IMAGE_BYTE_ORDER MSBFirst /* Values for the RISC/6000 */ -#define BITMAP_BIT_ORDER MSBFirst -#define GLYPHPADBYTES 4 - -#endif /* AIXV3 */ #if defined(ibm032) || defined (ibm) diff --git a/os/connection.c b/os/connection.c index 021776271..89795bf77 100644 --- a/os/connection.c +++ b/os/connection.c @@ -90,9 +90,6 @@ SOFTWARE. #include #endif -#ifdef AIXV3 -#include -#endif #if defined(TCPCONN) || defined(STREAMSCONN) # include diff --git a/os/utils.c b/os/utils.c index 35f1e849d..86f13f168 100644 --- a/os/utils.c +++ b/os/utils.c @@ -231,10 +231,6 @@ int auditTrailLevel = 1; _X_EXPORT Bool Must_have_memory = FALSE; -#ifdef AIXV3 -int SyncOn = 0; -extern int SelectWaitTime; -#endif #if defined(SVR4) || defined(__linux__) || defined(CSRG_BASED) #define HAS_SAVED_IDS_AND_SETEUID @@ -509,7 +505,6 @@ AdjustWaitForDelay (pointer waitTime, unsigned long newdelay) void UseMsg(void) { -#if !defined(AIXrt) && !defined(AIX386) ErrorF("use: X [:] [option]\n"); ErrorF("-a # mouse acceleration (pixels)\n"); ErrorF("-ac disable access control restrictions\n"); @@ -590,7 +585,6 @@ void UseMsg(void) #ifdef XDMCP XdmcpUseMsg(); #endif -#endif /* !AIXrt && ! AIX386 */ #ifdef XKB XkbUseMsg(); #endif @@ -965,19 +959,6 @@ ProcessCommandLine(int argc, char *argv[]) i = skip - 1; } #endif -#ifdef AIXV3 - else if ( strcmp( argv[i], "-timeout") == 0) - { - if(++i < argc) - SelectWaitTime = atoi(argv[i]); - else - UseMsg(); - } - else if ( strcmp( argv[i], "-sync") == 0) - { - SyncOn++; - } -#endif #ifdef SMART_SCHEDULE else if ( strcmp( argv[i], "-dumbSched") == 0) { diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c index 115f8555f..25a07f066 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -48,7 +48,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include "xkb.h" -#if defined(CSRG_BASED) || defined(linux) || defined(AIXV3) || defined(__osf__) || defined(__GNU__) +#if defined(CSRG_BASED) || defined(linux) || defined(__osf__) || defined(__GNU__) #include #endif