Compilers will complain the usage of obsolescent variable declarations.

Also it will fix the build problem with sparc64.

Submitted by:	ed@
This commit is contained in:
araujo 2015-07-29 02:21:35 +00:00
parent 409c6f37f9
commit 03740b1f15
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

@ -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" },