From: Remco Rijnders Date: Wed, 15 Feb 2012 17:46:11 +0000 (+0100) Subject: Remove SCO Unix *spits* workarounds X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=86ce5ac70a1a96be7c74dc78ecf2940ec8ff6f51;p=serene-ircd.git Remove SCO Unix *spits* workarounds --- diff --git a/include/common.h b/include/common.h index efbd8ea..35d28d0 100644 --- a/include/common.h +++ b/include/common.h @@ -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 #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)])