Remove #if 0 for unused code

This commit is contained in:
Love Hornquist Astrand
2009-09-16 14:55:16 -07:00
parent bb05c428f7
commit 53c878d313

View File

@@ -681,19 +681,12 @@ char * ROKEN_LIB_FUNCTION estrdup (const char *);
* kludges and such
*/
#if 1
int ROKEN_LIB_FUNCTION
roken_gethostby_setup(const char*, const char*);
struct hostent* ROKEN_LIB_FUNCTION
roken_gethostbyname(const char*);
struct hostent* ROKEN_LIB_FUNCTION
roken_gethostbyaddr(const void*, size_t, int);
#else
#ifdef GETHOSTBYNAME_PROTO_COMPATIBLE
#define roken_gethostbyname(x) gethostbyname(x)
#else
#define roken_gethostbyname(x) gethostbyname((char *)x)
#endif
#ifdef GETHOSTBYADDR_PROTO_COMPATIBLE
#define roken_gethostbyaddr(a, l, t) gethostbyaddr(a, l, t)