Author: delphij
Date: Mon Aug 17 05:57:22 2020
New Revision: 364293
URL: https://svnweb.freebsd.org/changeset/base/364293

Log:
  edquota(8): Cleanup to make it WARNS=6 clean.
  
  Tested with:  make tinderbox
  MFC after:    2 weeks

Modified:
  head/usr.sbin/edquota/Makefile
  head/usr.sbin/edquota/edquota.c

Modified: head/usr.sbin/edquota/Makefile
==============================================================================
--- head/usr.sbin/edquota/Makefile      Mon Aug 17 05:57:02 2020        
(r364292)
+++ head/usr.sbin/edquota/Makefile      Mon Aug 17 05:57:22 2020        
(r364293)
@@ -4,9 +4,6 @@
 PROG=  edquota
 MAN=   edquota.8
 
-CSTD=  gnu99
-WARNS?=        4
-
 LIBADD=        util
 
 .include <bsd.prog.mk>

Modified: head/usr.sbin/edquota/edquota.c
==============================================================================
--- head/usr.sbin/edquota/edquota.c     Mon Aug 17 05:57:02 2020        
(r364292)
+++ head/usr.sbin/edquota/edquota.c     Mon Aug 17 05:57:22 2020        
(r364293)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to