aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ypmatch
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2015-07-28 02:32:40 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2015-07-28 02:32:40 +0000
commit033af09de113cdcba4b72685dd5311fffb1025c5 (patch)
tree474a3116b16d6874dad78ef520947dc99f16dd88 /usr.bin/ypmatch
parent267dbe63a1dfb8e05eae5f1fad1ed7cc5f7b4b27 (diff)
downloadsrc-033af09de113cdcba4b72685dd5311fffb1025c5.tar.gz
src-033af09de113cdcba4b72685dd5311fffb1025c5.zip
Notes
Diffstat (limited to 'usr.bin/ypmatch')
-rw-r--r--usr.bin/ypmatch/ypmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c
index a9c32ea72c48..d6b58c2c5d31 100644
--- a/usr.bin/ypmatch/ypmatch.c
+++ b/usr.bin/ypmatch/ypmatch.c
@@ -47,9 +47,9 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-struct ypalias {
+const struct ypalias {
char *alias, *name;
-} ypaliases[] = {
+} static ypaliases[] = {
{ "passwd", "passwd.byname" },
{ "master.passwd", "master.passwd.byname" },
{ "shadow", "shadow.byname" },