summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-05-02 14:18:08 +0000
committerdelphij <delphij@FreeBSD.org>2005-05-02 14:18:08 +0000
commitf16e29fe55c3de0f07c488a1493069de2f20a793 (patch)
treecdde17fef1e0ac8c0fe0a65aeda35914273167dc /usr.sbin/sysinstall/dist.c
parentf5073c4856238560de7d21de057fcda20d479a2e (diff)
downloadFreeBSD-src-f16e29fe55c3de0f07c488a1493069de2f20a793.zip
FreeBSD-src-f16e29fe55c3de0f07c488a1493069de2f20a793.tar.gz
Use static for static variables. This fixes gcc4 build.
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index c29c8b6..9847a05 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -59,9 +59,8 @@ typedef struct _dist {
} my_data;
} Distribution;
-extern Distribution DistTable[];
-extern Distribution SrcDistTable[];
-extern Distribution XOrgDistTable[];
+static Distribution SrcDistTable[];
+static Distribution XOrgDistTable[];
#define DTE_TARBALL(name, mask, flag, directory) \
{ name, mask, DIST_ ## flag, DT_TARBALL, { directory } }
OpenPOWER on IntegriCloud