aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/quota
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-06 08:16:29 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-06 08:16:29 +0000
commit865ff609876048389f494b93640e4154be9d0f91 (patch)
treefeed564385ae47889538c66f15e48e256be28a53 /usr.bin/quota
parent4f5e9a1a579c63c3a4337e648078382393e27f26 (diff)
downloadsrc-865ff609876048389f494b93640e4154be9d0f91.tar.gz
src-865ff609876048389f494b93640e4154be9d0f91.zip
Notes
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 67d9c5a6b032..ddfcea032fcf 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[])