From ef8e75ce9824af4e8780f8077a6cb1262f4b49c0 Mon Sep 17 00:00:00 2001 From: abs Date: Sat, 19 Jul 2003 22:07:36 +0000 Subject: [PATCH] Make net_namesvr6 extern again to fix compilation if INET6 is defined. --- distrib/utils/sysinst/defs.h | 3 ++- distrib/utils/sysinst/net.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/distrib/utils/sysinst/defs.h b/distrib/utils/sysinst/defs.h index a962a66f1150..bb25f9e5f100 100644 --- a/distrib/utils/sysinst/defs.h +++ b/distrib/utils/sysinst/defs.h @@ -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. @@ -321,6 +321,7 @@ int get_geom(const char *, struct disklabel *); int get_real_geom(const char *, struct disklabel *); /* from net.c */ +extern char net_namesvr6[STRSIZE]; int get_via_ftp(void); int get_via_nfs(void); int config_network(void); diff --git a/distrib/utils/sysinst/net.c b/distrib/utils/sysinst/net.c index 0a3a36b5497f..42c628610177 100644 --- a/distrib/utils/sysinst/net.c +++ b/distrib/utils/sysinst/net.c @@ -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. @@ -78,7 +78,7 @@ static int net_dhcpconf; #define DHCPCONF_DOMAIN 0x08 #ifdef INET6 static char net_ip6[STRSIZE]; -static char net_namesvr6[STRSIZE]; +char net_namesvr6[STRSIZE]; static int net_ip6conf; #define IP6CONF_AUTOHOST 0x01 #endif