Stop gcc warnings

This commit is contained in:
Peter Wemm 2003-10-26 05:28:01 +00:00
parent 862c47dc3b
commit ba7887c77f
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h> #include <unistd.h>
struct ypalias { struct ypalias {
const char *alias, *name; char *alias, *name;
} ypaliases[] = { } ypaliases[] = {
{ "passwd", "passwd.byname" }, { "passwd", "passwd.byname" },
{ "master.passwd", "master.passwd.byname" }, { "master.passwd", "master.passwd.byname" },

View File

@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h> #include <unistd.h>
struct ypalias { struct ypalias {
const char *alias, *name; char *alias, *name;
} ypaliases[] = { } ypaliases[] = {
{ "passwd", "passwd.byname" }, { "passwd", "passwd.byname" },
{ "master.passwd", "master.passwd.byname" }, { "master.passwd", "master.passwd.byname" },