Remove SCO Unix *spits* workarounds
authorRemco Rijnders <remco@webconquest.com>
Wed, 15 Feb 2012 17:46:11 +0000 (18:46 +0100)
committerRemco Rijnders <remco@webconquest.com>
Wed, 15 Feb 2012 17:46:11 +0000 (18:46 +0100)
include/common.h

index efbd8ea0365701980876d65eef22f08c441a0f2e..35d28d0bd14e25804f3bcc3d1e266c019d2eda30 100644 (file)
@@ -66,11 +66,10 @@ extern      char    *strtoken PROTO((char **, char *, char *));
 extern unsigned long inet_addr PROTO((char *));
 #endif
 
-#if !defined(HAVE_INET_NTOA) || !defined(HAVE_INET_NETOF) && !defined(SCOUNIX)
+#if !defined(HAVE_INET_NTOA) || !defined(HAVE_INET_NETOF)
 #include <netinet/in.h>
 #endif
 
-#ifndef SCOUNIX /* SCO Openserver has these, but the header files are broken */
 #ifndef HAVE_INET_NTOA
 extern char *inet_ntoa PROTO((struct in_addr));
 #endif
@@ -78,7 +77,6 @@ extern char *inet_ntoa PROTO((struct in_addr));
 #ifndef HAVE_INET_NETOF
 extern int inet_netof PROTO((struct in_addr));
 #endif
-#endif /* SCOUNIX */
 
 int global_count, max_global_count;
 extern char *myctime PROTO((time_t));
@@ -93,12 +91,7 @@ extern char *strtoken PROTO((char **, char *, char *));
 
 #define DupString(x,y) do{x=MyMalloc(strlen(y)+1);(void)strcpy(x,y);(void)strip_trailing_spaces(x);}while(0)
 
-#ifndef SCOUNIX
 extern u_char tolowertab[], touppertab[];
-#else
-extern unsigned char tolowertab[], touppertab[]; 
-       /* Typedef for u_char exists and is wrong. */
-#endif
 
 #undef tolower
 #define tolower(c) (tolowertab[(u_char)(c)])