diff options
author | araujo <araujo@FreeBSD.org> | 2015-07-29 02:21:35 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2015-07-29 02:21:35 +0000 |
commit | 03740b1f15c083c9058fad53a6043321b852a200 (patch) | |
tree | fd12a959d07ff769ce782256f2401880fa0aa9b1 /usr.bin/ypwhich | |
parent | 409c6f37f9f7c0fabc95f6b1b9c0a811095d664d (diff) | |
download | FreeBSD-src-03740b1f15c083c9058fad53a6043321b852a200.zip FreeBSD-src-03740b1f15c083c9058fad53a6043321b852a200.tar.gz |
Compilers will complain the usage of obsolescent variable declarations.
Also it will fix the build problem with sparc64.
Submitted by: ed@
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r-- | usr.bin/ypwhich/ypwhich.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypwhich/ypwhich.c b/usr.bin/ypwhich/ypwhich.c index d02461e..14fc1b3 100644 --- a/usr.bin/ypwhich/ypwhich.c +++ b/usr.bin/ypwhich/ypwhich.c @@ -59,9 +59,9 @@ __FBSDID("$FreeBSD$"); extern bool_t xdr_domainname(); -const struct ypalias { +static const struct ypalias { char *alias, *name; -} static ypaliases[] = { +} ypaliases[] = { { "passwd", "passwd.byname" }, { "master.passwd", "master.passwd.byname" }, { "shadow", "shadow.byname" }, |