Date: Mon, 17 Aug 2020 05:57:23 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r364293 - head/usr.sbin/edquota Message-ID: <202008170557.07H5vNuh001671@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008170557.07H5vNuh001671>