aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-11 21:47:31 +0000
committerGunter Knauf <gk@gknw.de>2007-07-11 21:47:31 +0000
commitc0095d6dd904c6ad82fe834cbef790ca4d231944 (patch)
treed9b53b0cbc58b9273fb00ade7f8bf7352f0a90ce /lib
parent6a88eab06752745e0cff027379dd1281503bebe8 (diff)
removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.c3
-rw-r--r--lib/hostip4.c1
-rw-r--r--lib/nwlib.c7
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... */