From 865ff609876048389f494b93640e4154be9d0f91 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Nov 2011 08:16:29 +0000 Subject: [PATCH] Add missing static keywords to quota(1) --- usr.bin/quota/quota.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c index 67d9c5a6b032..ddfcea032fcf 100644 --- a/usr.bin/quota/quota.c +++ b/usr.bin/quota/quota.c @@ -73,8 +73,7 @@ __FBSDID("$FreeBSD$"); #include #include -const char *qfname = QUOTAFILENAME; -const char *qfextension[] = INITQFNAMES; +static const char *qfextension[] = INITQFNAMES; struct quotause { struct quotause *next; @@ -101,12 +100,12 @@ static int callaurpc(char *host, int prognum, int versnum, int procnum, xdrproc_t inproc, char *in, xdrproc_t outproc, char *out); static int alldigits(char *s); -int hflag; -int lflag; -int rflag; -int qflag; -int vflag; -char *filename = NULL; +static int hflag; +static int lflag; +static int rflag; +static int qflag; +static int vflag; +static char *filename = NULL; int main(int argc, char *argv[])