h_errno is declared in netdb.h.

This commit is contained in:
Warner Losh 2001-03-01 06:41:43 +00:00
parent e829cbf262
commit 59aadf9385

View File

@ -435,7 +435,6 @@ search(u_long addr, void (*action)(struct sockaddr_dl *sdl,
struct rt_msghdr *rtm;
struct sockaddr_inarp *sin;
struct sockaddr_dl *sdl;
extern int h_errno;
mib[0] = CTL_NET;
mib[1] = PF_ROUTE;
@ -471,7 +470,6 @@ print_entry(struct sockaddr_dl *sdl,
struct sockaddr_inarp *sin, struct rt_msghdr *rtm)
{
char *host;
extern int h_errno;
struct hostent *hp;
int seg;