From c0095d6dd904c6ad82fe834cbef790ca4d231944 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Wed, 11 Jul 2007 21:47:31 +0000 Subject: removed now obsolete NETDB_DEFINE_CONTEXT macro calls. --- lib/connect.c | 3 --- lib/hostip4.c | 1 - lib/nwlib.c | 7 ------- 3 files changed, 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 #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 -/* Make the CLIB Ctx stuff link */ -/* -#include -#include -NETDB_DEFINE_CONTEXT -*/ - int main ( void ) { /* initialize any globals here... */ -- cgit v1.2.3