removed now obsolete NETDB_DEFINE_CONTEXT macro calls.

This commit is contained in:
Gunter Knauf 2007-07-11 21:47:31 +00:00
parent 6a88eab067
commit c0095d6dd9
3 changed files with 0 additions and 11 deletions

View File

@ -63,9 +63,6 @@
#include <sys/filio.h> #include <sys/filio.h>
#endif #endif
#ifdef NETWARE #ifdef NETWARE
#ifndef __NOVELL_LIBC__
NETDB_DEFINE_CONTEXT
#endif
#undef in_addr_t #undef in_addr_t
#define in_addr_t unsigned long #define in_addr_t unsigned long
#endif #endif

View File

@ -285,7 +285,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
*/ */
else { else {
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) #if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
NETDB_DEFINE_CONTEXT
h = gethostbyname((char*)hostname); h = gethostbyname((char*)hostname);
#else #else
h = gethostbyname(hostname); h = gethostbyname(hostname);

View File

@ -308,13 +308,6 @@ void DisposeThreadData( void *data )
/* For native CLib-based NLM seems we can do a bit more simple. */ /* For native CLib-based NLM seems we can do a bit more simple. */
#include <nwthread.h> #include <nwthread.h>
/* Make the CLIB Ctx stuff link */
/*
#include <stdio.h>
#include <netdb.h>
NETDB_DEFINE_CONTEXT
*/
int main ( void ) int main ( void )
{ {
/* initialize any globals here... */ /* initialize any globals here... */