summaryrefslogtreecommitdiffstats
path: root/usr.bin/quota
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:16:29 +0000
committered <ed@FreeBSD.org>2011-11-06 08:16:29 +0000
commit09dd1a0121858fa6a644459a9ab5b47439b4b3fc (patch)
treefeed564385ae47889538c66f15e48e256be28a53 /usr.bin/quota
parent809f85b51a27a80a0a248932e28f53e33b63b476 (diff)
downloadFreeBSD-src-09dd1a0121858fa6a644459a9ab5b47439b4b3fc.zip
FreeBSD-src-09dd1a0121858fa6a644459a9ab5b47439b4b3fc.tar.gz
Add missing static keywords to quota(1)
Diffstat (limited to 'usr.bin/quota')
-rw-r--r--usr.bin/quota/quota.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c
index 67d9c5a..ddfcea0 100644
--- a/usr.bin/quota/quota.c
+++ b/usr.bin/quota/quota.c
@@ -73,8 +73,7 @@ __FBSDID("$FreeBSD$");
#include <time.h>
#include <unistd.h>
-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[])
OpenPOWER on IntegriCloud