diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2015-07-28 02:32:40 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2015-07-28 02:32:40 +0000 |
commit | 033af09de113cdcba4b72685dd5311fffb1025c5 (patch) | |
tree | 474a3116b16d6874dad78ef520947dc99f16dd88 /usr.bin/ypcat | |
parent | 267dbe63a1dfb8e05eae5f1fad1ed7cc5f7b4b27 (diff) | |
download | src-033af09de113cdcba4b72685dd5311fffb1025c5.tar.gz src-033af09de113cdcba4b72685dd5311fffb1025c5.zip |
Notes
Diffstat (limited to 'usr.bin/ypcat')
-rw-r--r-- | usr.bin/ypcat/ypcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ypcat/ypcat.c b/usr.bin/ypcat/ypcat.c index 3484bc9c1f4c..b3d90336c61a 100644 --- a/usr.bin/ypcat/ypcat.c +++ b/usr.bin/ypcat/ypcat.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" }, @@ -62,7 +62,7 @@ struct ypalias { { "ethers", "ethers.byname" }, }; -int key; +static int key; static void usage(void) |