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>
#endif
#ifdef NETWARE
#ifndef __NOVELL_LIBC__
NETDB_DEFINE_CONTEXT
#endif
#undef in_addr_t
#define in_addr_t unsigned long
#endif

View 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);

View 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... */