summaryrefslogtreecommitdiff
path: root/libbb/xgethostbyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xgethostbyname.c')
-rw-r--r--libbb/xgethostbyname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/xgethostbyname.c b/libbb/xgethostbyname.c
index 2585103..be56f2e 100644
--- a/libbb/xgethostbyname.c
+++ b/libbb/xgethostbyname.c
@@ -22,10 +22,9 @@
*/
#include <netdb.h>
-extern int h_errno;
-
#include "libbb.h"
+
struct hostent *xgethostbyname(const char *name)
{
struct hostent *retval;