Make net_namesvr6 extern again to fix compilation if INET6 is defined.

This commit is contained in:
abs 2003-07-19 22:07:36 +00:00
parent 173e5850f7
commit ef8e75ce98
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: defs.h,v 1.97 2003/07/18 09:44:20 dsl Exp $ */ /* $NetBSD: defs.h,v 1.98 2003/07/19 22:07:36 abs Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -321,6 +321,7 @@ int get_geom(const char *, struct disklabel *);
int get_real_geom(const char *, struct disklabel *); int get_real_geom(const char *, struct disklabel *);
/* from net.c */ /* from net.c */
extern char net_namesvr6[STRSIZE];
int get_via_ftp(void); int get_via_ftp(void);
int get_via_nfs(void); int get_via_nfs(void);
int config_network(void); int config_network(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.87 2003/07/18 09:42:59 dsl Exp $ */ /* $NetBSD: net.c,v 1.88 2003/07/19 22:07:37 abs Exp $ */
/* /*
* Copyright 1997 Piermont Information Systems Inc. * Copyright 1997 Piermont Information Systems Inc.
@ -78,7 +78,7 @@ static int net_dhcpconf;
#define DHCPCONF_DOMAIN 0x08 #define DHCPCONF_DOMAIN 0x08
#ifdef INET6 #ifdef INET6
static char net_ip6[STRSIZE]; static char net_ip6[STRSIZE];
static char net_namesvr6[STRSIZE]; char net_namesvr6[STRSIZE];
static int net_ip6conf; static int net_ip6conf;
#define IP6CONF_AUTOHOST 0x01 #define IP6CONF_AUTOHOST 0x01
#endif #endif