summaryrefslogtreecommitdiff
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2020-08-17 05:57:22 +0000
committerXin LI <delphij@FreeBSD.org>2020-08-17 05:57:22 +0000
commitb651906972da203f5454967ec88dffe1f173241e (patch)
tree7f5022ac0b42f6dcd4a8a525fb21a109aaf77b2c /usr.sbin/edquota
parent941791759c2cb64e4884579b7a7cc5fb21feec26 (diff)
downloadsrc-test2-b651906972da203f5454967ec88dffe1f173241e.tar.gz
src-test2-b651906972da203f5454967ec88dffe1f173241e.zip
Notes
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r--usr.sbin/edquota/Makefile3
-rw-r--r--usr.sbin/edquota/edquota.c6
2 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/edquota/Makefile b/usr.sbin/edquota/Makefile
index 83f06d055270..38d6eb3a55ce 100644
--- a/usr.sbin/edquota/Makefile
+++ b/usr.sbin/edquota/Makefile
@@ -4,9 +4,6 @@
PROG= edquota
MAN= edquota.8
-CSTD= gnu99
-WARNS?= 4
-
LIBADD= util
.include <bsd.prog.mk>
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c
index eef149c4d698..de2083506864 100644
--- a/usr.sbin/edquota/edquota.c
+++ b/usr.sbin/edquota/edquota.c
@@ -83,9 +83,9 @@ __FBSDID("$FreeBSD$");
#define dbtokb(db) (db)
#endif
-const char *qfextension[] = INITQFNAMES;
-char tmpfil[] = _PATH_TMP;
-int hflag;
+static const char *qfextension[] = INITQFNAMES;
+static char tmpfil[] = _PATH_TMP;
+static int hflag;
struct quotause {
struct quotause *next;