From 53c878d313d5c4b43ffe657f51788d84078ca01e Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 16 Sep 2009 14:55:16 -0700 Subject: [PATCH] Remove #if 0 for unused code --- lib/roken/roken.h.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index fce5c598a..6ad4f673f 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -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)