h_errno is now declared in each file that uses it.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5070 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald 2003-10-17 13:57:33 +00:00
parent f8e89e479d
commit 8c911f6ce6
6 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,6 @@ extern "C" {
#define NO_DATA 4
#ifndef h_errno
extern int h_errno;
extern int *_h_errnop(void);
#define h_errno (*_h_errnop())
#endif /* h_errno */

View File

@ -13,6 +13,7 @@
#include <TLS.h>
extern int h_errno;
#undef h_errno
// was defined by netdb.h
static int32 h_errno_tls;

View File

@ -98,6 +98,7 @@
#undef h_errno
// was defined by netdb.h
extern int h_errno;
#ifdef YP
#include <rpc/rpc.h>
@ -1517,7 +1518,6 @@ _yp_getaddrinfo(name, pai)
/* resolver logic */
extern const char *__hostalias (const char *);
extern int h_errno;
extern int res_opt (int, u_char *, int, int);
/*

View File

@ -54,6 +54,7 @@
#undef h_errno
// was defined by netdb.h
extern int h_errno;
static const struct afd {
int a_af;

View File

@ -93,6 +93,7 @@
#undef h_errno
// was defined by netdb.h
extern int h_errno;
extern const char *_res_opcodes[];
extern const char *_res_resultcodes[];

View File

@ -66,6 +66,7 @@
#undef h_errno
// was defined by netdb.h
extern int h_errno;
/*
* Form all types of queries.