summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-07-23 13:36:35 -0400
committerAdam Jackson <ajax@redhat.com>2008-07-23 13:37:42 -0400
commitbd8bd2c700e6ccac53b47c45766c0a3a08a59344 (patch)
tree671eca3c1f26ffcc2a7a69a9d127824d9a1dbd38
parent5f5eed7f790db2f0ae0cd0f5c5ee5a312079c0b0 (diff)
Unifdef AIX.
-rw-r--r--hw/vfb/InitOutput.c5
-rw-r--r--hw/xnest/Init.c5
-rw-r--r--include/servermd.h7
-rw-r--r--os/connection.c3
-rw-r--r--os/utils.c19
-rw-r--r--xkb/ddxLoad.c2
6 files changed, 1 insertions, 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 <sys/ioctl.h>
#endif
-#ifdef AIXV3
-#include <sys/ioctl.h>
-#endif
#if defined(TCPCONN) || defined(STREAMSCONN)
# include <netinet/in.h>
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 [:<display>] [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 <X11/extensions/XI.h>
#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 <paths.h>
#endif