diff options
author | delphij <delphij@FreeBSD.org> | 2005-05-02 14:18:08 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-05-02 14:18:08 +0000 |
commit | f16e29fe55c3de0f07c488a1493069de2f20a793 (patch) | |
tree | cdde17fef1e0ac8c0fe0a65aeda35914273167dc /usr.sbin/sysinstall | |
parent | f5073c4856238560de7d21de057fcda20d479a2e (diff) | |
download | FreeBSD-src-f16e29fe55c3de0f07c488a1493069de2f20a793.zip FreeBSD-src-f16e29fe55c3de0f07c488a1493069de2f20a793.tar.gz |
Use static for static variables. This fixes gcc4 build.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 5 |
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 } } |