summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-02 17:03:54 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-02 17:03:54 -0400
commitf836e1f11b7bf3449c3e469cc7799c4ed28d2356 (patch)
treec8ba8e01ec2d1fb73b7fa3d70c8bac7c59c0031f
parentb1a31734731a768d586b4cb18317d4a5c5e20fa8 (diff)
Unifdef ISC
-rw-r--r--Xext/xf86bigfont.c2
-rw-r--r--[-rwxr-xr-x]damageext/damageext.c0
-rw-r--r--hw/xfree86/loader/os.c2
-rw-r--r--hw/xfree86/os-support/xf86_OSlib.h18
-rw-r--r--[-rwxr-xr-x]hw/xwin/winmessages.h0
-rw-r--r--[-rwxr-xr-x]miext/damage/damage.c0
-rw-r--r--[-rwxr-xr-x]miext/damage/damage.h0
-rw-r--r--[-rwxr-xr-x]miext/damage/damagestr.h0
-rw-r--r--os/access.c31
-rw-r--r--[-rwxr-xr-x]xfixes/cursor.c0
-rw-r--r--[-rwxr-xr-x]xfixes/saveset.c0
-rw-r--r--[-rwxr-xr-x]xfixes/select.c0
-rw-r--r--[-rwxr-xr-x]xfixes/xfixes.c0
-rw-r--r--[-rwxr-xr-x]xfixes/xfixes.h0
-rw-r--r--[-rwxr-xr-x]xfixes/xfixesint.h0
15 files changed, 4 insertions, 49 deletions
diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c
index d5c5704de..dabbdd6e0 100644
--- a/Xext/xf86bigfont.c
+++ b/Xext/xf86bigfont.c
@@ -50,7 +50,7 @@
#ifdef SVR4
#include <sys/sysmacros.h>
#endif
-#if defined(ISC) || defined(__CYGWIN__) || defined(__SCO__)
+#if defined(__CYGWIN__) || defined(__SCO__)
#include <sys/param.h>
#include <sys/sysmacros.h>
#endif
diff --git a/damageext/damageext.c b/damageext/damageext.c
index 8fa1c5314..8fa1c5314 100755..100644
--- a/damageext/damageext.c
+++ b/damageext/damageext.c
diff --git a/hw/xfree86/loader/os.c b/hw/xfree86/loader/os.c
index a73ef939e..ef9ac38b4 100644
--- a/hw/xfree86/loader/os.c
+++ b/hw/xfree86/loader/os.c
@@ -52,8 +52,6 @@
#define OSNAME "hurd"
#elif defined(__SCO__)
#define OSNAME "sco"
-#elif defined(ISC)
-#define OSNAME "isc"
#elif defined(SVR4) && defined(sun)
#define OSNAME "solaris"
#elif defined(SVR5)
diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h
index a12e0e8dd..48d922301 100644
--- a/hw/xfree86/os-support/xf86_OSlib.h
+++ b/hw/xfree86/os-support/xf86_OSlib.h
@@ -98,16 +98,10 @@
# include <termio.h>
# include <sys/stat.h>
# include <sys/types.h>
-# if defined(__SCO__) || defined(ISC)
+# if defined(__SCO__)
# include <sys/param.h>
# endif
-# ifdef ISC
-# define TIOCMSET (TIOC|26) /* set all modem bits */
-# define TIOCMBIS (TIOC|27) /* bis modem bits */
-# define TIOCMBIC (TIOC|28) /* bic modem bits */
-# define TIOCMGET (TIOC|29) /* get all modem bits */
-# endif
# include <errno.h>
@@ -203,10 +197,6 @@
# define POSIX_TTY
# endif /* SVR4 */
-# ifdef ISC
-# include <termios.h>
-# define POSIX_TTY
-# endif
# if defined(sun) && (defined (__i386__) || defined(__i386)) && defined (SVR4) && !defined(__SOL8__)
# define USE_VT_SYSREQ
@@ -446,12 +436,6 @@
# endif /* MAXPATHLEN */
#endif /* !PATH_MAX */
-#if defined(ISC)
-#define rint(x) RInt(x)
-double RInt(
- double x
-);
-#endif
#ifndef DEV_MEM
#define DEV_MEM "/dev/mem"
diff --git a/hw/xwin/winmessages.h b/hw/xwin/winmessages.h
index ae50dc474..ae50dc474 100755..100644
--- a/hw/xwin/winmessages.h
+++ b/hw/xwin/winmessages.h
diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index d7a29672a..d7a29672a 100755..100644
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
diff --git a/miext/damage/damage.h b/miext/damage/damage.h
index a70f1f86e..a70f1f86e 100755..100644
--- a/miext/damage/damage.h
+++ b/miext/damage/damage.h
diff --git a/miext/damage/damagestr.h b/miext/damage/damagestr.h
index f5e0ab9e9..f5e0ab9e9 100755..100644
--- a/miext/damage/damagestr.h
+++ b/miext/damage/damagestr.h
diff --git a/os/access.c b/os/access.c
index efc9a458b..c91212b1b 100644
--- a/os/access.c
+++ b/os/access.c
@@ -80,7 +80,7 @@ SOFTWARE.
#include <sys/ioctl.h>
#include <ctype.h>
-#if defined(TCPCONN) || defined(STREAMSCONN) || defined(ISC) || defined(__SCO__)
+#if defined(TCPCONN) || defined(STREAMSCONN) || defined(__SCO__)
#include <netinet/in.h>
#endif /* TCPCONN || STREAMSCONN || ISC || __SCO__ */
#ifdef DNETCONN
@@ -100,10 +100,6 @@ SOFTWARE.
#endif
#if defined(SYSV) && defined(__i386__)
# include <sys/stream.h>
-# ifdef ISC
-# include <sys/stropts.h>
-# include <sys/sioctl.h>
-# endif /* ISC */
#endif
#ifdef __GNU__
#undef SIOCGIFCONF
@@ -283,7 +279,7 @@ AccessUsingXdmcp (void)
}
-#if ( defined(SVR4) && !defined(SCO325) && !defined(sun) || defined(ISC)) && defined(SIOCGIFCONF) && !defined(USE_SIOCGLIFCONF)
+#if defined(SVR4) && !defined(SCO325) && !defined(sun) && defined(SIOCGIFCONF) && !defined(USE_SIOCGLIFCONF)
/* Deal with different SIOCGIFCONF ioctl semantics on these OSs */
@@ -300,17 +296,6 @@ ifioctl (int fd, int cmd, char *arg)
{
ioc.ic_len = ((struct ifconf *) arg)->ifc_len;
ioc.ic_dp = ((struct ifconf *) arg)->ifc_buf;
-#ifdef ISC
- /* SIOCGIFCONF is somewhat brain damaged on ISC. The argument
- * buffer must contain the ifconf structure as header. Ifc_req
- * is also not a pointer but a one element array of ifreq
- * structures. On return this array is extended by enough
- * ifreq fields to hold all interfaces. The return buffer length
- * is placed in the buffer header.
- */
- ((struct ifconf *) ioc.ic_dp)->ifc_len =
- ioc.ic_len - sizeof(struct ifconf);
-#endif
}
else
{
@@ -322,14 +307,6 @@ ifioctl (int fd, int cmd, char *arg)
#ifdef SVR4
((struct ifconf *) arg)->ifc_len = ioc.ic_len;
#endif
-#ifdef ISC
- {
- ((struct ifconf *) arg)->ifc_len =
- ((struct ifconf *)ioc.ic_dp)->ifc_len;
- ((struct ifconf *) arg)->ifc_buf =
- (caddr_t)((struct ifconf *)ioc.ic_dp)->ifc_req;
- }
-#endif
return(ret);
}
#else /* Case sun, SCO325 and others */
@@ -609,11 +586,7 @@ DefineSelf (int fd)
ifc.ifc_buf = bufptr;
#define IFC_IOCTL_REQ SIOCGIFCONF
-#ifdef ISC
-#define IFC_IFC_REQ (struct ifreq *) ifc.ifc_buf
-#else
#define IFC_IFC_REQ ifc.ifc_req
-#endif /* ISC */
#define IFC_IFC_LEN ifc.ifc_len
#define IFR_IFR_ADDR ifr->ifr_addr
#define IFR_IFR_NAME ifr->ifr_name
diff --git a/xfixes/cursor.c b/xfixes/cursor.c
index 2c584f9f4..2c584f9f4 100755..100644
--- a/xfixes/cursor.c
+++ b/xfixes/cursor.c
diff --git a/xfixes/saveset.c b/xfixes/saveset.c
index 29de0d8f2..29de0d8f2 100755..100644
--- a/xfixes/saveset.c
+++ b/xfixes/saveset.c
diff --git a/xfixes/select.c b/xfixes/select.c
index 12a165fd0..12a165fd0 100755..100644
--- a/xfixes/select.c
+++ b/xfixes/select.c
diff --git a/xfixes/xfixes.c b/xfixes/xfixes.c
index d1225c6f3..d1225c6f3 100755..100644
--- a/xfixes/xfixes.c
+++ b/xfixes/xfixes.c
diff --git a/xfixes/xfixes.h b/xfixes/xfixes.h
index 81dd83daf..81dd83daf 100755..100644
--- a/xfixes/xfixes.h
+++ b/xfixes/xfixes.h
diff --git a/xfixes/xfixesint.h b/xfixes/xfixesint.h
index 33a3205ed..33a3205ed 100755..100644
--- a/xfixes/xfixesint.h
+++ b/xfixes/xfixesint.h