summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/gethostnamadr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/gethostnamadr.c')
-rw-r--r--lib/libc/net/gethostnamadr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/net/gethostnamadr.c b/lib/libc/net/gethostnamadr.c
index d5644a8..80e6637 100644
--- a/lib/libc/net/gethostnamadr.c
+++ b/lib/libc/net/gethostnamadr.c
@@ -35,7 +35,6 @@ static char rcsid[] = "$FreeBSD$";
#include <netdb.h>
#include <stdio.h>
#include <ctype.h>
-#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <nsswitch.h>
@@ -117,7 +116,6 @@ gethostbyaddr(const char *addr, int len, int type)
return hp;
}
-#ifdef _THREAD_SAFE
struct hostent_data;
/*
@@ -136,7 +134,6 @@ int gethostbyaddr_r(const char *addr, int len, int type,
}
return(ret);
}
-#endif
void
sethostent(stayopen)
OpenPOWER on IntegriCloud