freebsd-dev/usr.bin/ar
Ed Schouten 7e659f9491 Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.

Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.

Announced on:	toolchain@
2013-04-19 19:45:00 +00:00
..
acplex.l Fix some more warnings found by clang. 2010-11-22 20:10:48 +00:00
acpyacc.y Replace deprecated (or remove obsolete) libarchive 2.8 functions 2013-03-22 10:17:42 +00:00
ar.1 Whitespace cleanup: 2011-12-23 00:31:26 +00:00
ar.c Update libarchive to 3.0.3 2012-02-25 10:58:02 +00:00
ar.h Mark bsdar_errc as __dead2 to help code analysis tools. 2012-10-22 02:12:06 +00:00
Makefile Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
read.c Replace deprecated (or remove obsolete) libarchive 2.8 functions 2013-03-22 10:17:42 +00:00
util.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
write.c Replace deprecated (or remove obsolete) libarchive 2.8 functions 2013-03-22 10:17:42 +00:00