removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
authorGunter Knauf <gk@gknw.de>
Wed, 11 Jul 2007 21:47:31 +0000 (21:47 +0000)
committerGunter Knauf <gk@gknw.de>
Wed, 11 Jul 2007 21:47:31 +0000 (21:47 +0000)
lib/connect.c
lib/hostip4.c
lib/nwlib.c

index 8fbdd86..ffce3da 100644 (file)
@@ -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
index 9ff8838..d951e18 100644 (file)
@@ -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);
index da155ac..9c0cbaa 100644 (file)
@@ -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... */