xserver: Branch 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Wed Jul 23 10:43:15 PDT 2008
include/servermd.h | 2 +-
os/access.c | 9 +--------
os/connection.c | 6 ------
os/osdep.h | 2 +-
4 files changed, 3 insertions(+), 16 deletions(-)
New commits:
commit 0d785bd635d135fcd67b4c9c88f5c8217e9b9240
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Jul 23 13:43:09 2008 -0400
Unifdef hpux.
diff --git a/include/servermd.h b/include/servermd.h
index 2b937ff..dec9f3b 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -84,7 +84,7 @@ SOFTWARE.
#endif /* __arm32__ */
-#if defined (hpux) || defined __hppa__
+#if defined __hppa__
#define IMAGE_BYTE_ORDER MSBFirst
#define BITMAP_BIT_ORDER MSBFirst
diff --git a/os/access.c b/os/access.c
index 6179d5b..efc9a45 100644
--- a/os/access.c
+++ b/os/access.c
@@ -95,12 +95,6 @@ SOFTWARE.
# endif
#endif
-#if defined(hpux)
-# include <sys/utsname.h>
-# ifdef HAS_IFREQ
-# include <net/if.h>
-# endif
-#else
#if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__)
# include <sys/utsname.h>
#endif
@@ -117,7 +111,6 @@ SOFTWARE.
#else /*!__GNU__*/
# include <net/if.h>
#endif /*__GNU__ */
-#endif /* hpux */
#ifdef SVR4
#include <sys/sockio.h>
@@ -350,7 +343,7 @@ ifioctl (int fd, int cmd, char *arg)
* for this fd and add them to the selfhosts list.
*/
-#if !defined(SIOCGIFCONF) || defined (hpux) && ! defined (HAS_IFREQ)
+#if !defined(SIOCGIFCONF)
void
DefineSelf (int fd)
{
diff --git a/os/connection.c b/os/connection.c
index 89795bf..8e9121b 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -85,16 +85,11 @@ SOFTWARE.
#ifndef WIN32
#include <sys/socket.h>
-#ifdef hpux
-#include <sys/utsname.h>
-#include <sys/ioctl.h>
-#endif
#if defined(TCPCONN) || defined(STREAMSCONN)
# include <netinet/in.h>
# include <arpa/inet.h>
-# if !defined(hpux)
# ifdef apollo
# ifndef NO_TCP_H
# include <netinet/tcp.h>
@@ -105,7 +100,6 @@ SOFTWARE.
# endif
# include <netinet/tcp.h>
# endif
-# endif
# include <arpa/inet.h>
#endif
diff --git a/os/osdep.h b/os/osdep.h
index af1d5a9..e719f9a 100644
--- a/os/osdep.h
+++ b/os/osdep.h
@@ -102,7 +102,7 @@ SOFTWARE.
#define MAXSELECT (sizeof(fd_set) * NBBY)
#ifndef HAS_GETDTABLESIZE
-#if !defined(hpux) && !defined(SVR4) && !defined(SYSV)
+#if !defined(SVR4) && !defined(SYSV)
#define HAS_GETDTABLESIZE
#endif
#endif
More information about the xorg-commit
mailing list