summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-10-26 05:28:01 +0000
committerpeter <peter@FreeBSD.org>2003-10-26 05:28:01 +0000
commita799821e8562f95192a3ada14118289b95891c3c (patch)
tree819064bacae3ffdf29e9b40f8069e58e601e9247 /usr.bin
parentc8ef24efdad444da54bfc8135bf1ecf5c6cffc17 (diff)
downloadFreeBSD-src-a799821e8562f95192a3ada14118289b95891c3c.zip
FreeBSD-src-a799821e8562f95192a3ada14118289b95891c3c.tar.gz
Stop gcc warnings
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ypcat/ypcat.c2
-rw-r--r--usr.bin/ypmatch/ypmatch.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ypcat/ypcat.c b/usr.bin/ypcat/ypcat.c
index 033d343..b3225f4 100644
--- a/usr.bin/ypcat/ypcat.c
+++ b/usr.bin/ypcat/ypcat.c
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
struct ypalias {
- const char *alias, *name;
+ char *alias, *name;
} ypaliases[] = {
{ "passwd", "passwd.byname" },
{ "master.passwd", "master.passwd.byname" },
diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c
index e85f335..76d0f59 100644
--- a/usr.bin/ypmatch/ypmatch.c
+++ b/usr.bin/ypmatch/ypmatch.c
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
struct ypalias {
- const char *alias, *name;
+ char *alias, *name;
} ypaliases[] = {
{ "passwd", "passwd.byname" },
{ "master.passwd", "master.passwd.byname" },
OpenPOWER on IntegriCloud