diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 3 | ||||
-rw-r--r-- | lib/hostip4.c | 1 | ||||
-rw-r--r-- | lib/nwlib.c | 7 |
3 files changed, 0 insertions, 11 deletions
diff --git a/lib/connect.c b/lib/connect.c index 8fbdd8661..ffce3dad5 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -63,9 +63,6 @@ #include <sys/filio.h> #endif #ifdef NETWARE -#ifndef __NOVELL_LIBC__ -NETDB_DEFINE_CONTEXT -#endif #undef in_addr_t #define in_addr_t unsigned long #endif diff --git a/lib/hostip4.c b/lib/hostip4.c index 9ff883892..d951e185c 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -285,7 +285,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, */ else { #if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) - NETDB_DEFINE_CONTEXT h = gethostbyname((char*)hostname); #else h = gethostbyname(hostname); diff --git a/lib/nwlib.c b/lib/nwlib.c index da155ac90..9c0cbaaa5 100644 --- a/lib/nwlib.c +++ b/lib/nwlib.c @@ -308,13 +308,6 @@ void DisposeThreadData( void *data ) /* For native CLib-based NLM seems we can do a bit more simple. */ #include <nwthread.h> -/* Make the CLIB Ctx stuff link */ -/* -#include <stdio.h> -#include <netdb.h> -NETDB_DEFINE_CONTEXT -*/ - int main ( void ) { /* initialize any globals here... */ |