1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/sbin
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
..
adjkerntz Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
atm
badsect
bsdlabel
camcontrol Remove contractions. 2013-04-11 18:46:41 +00:00
ccdconfig Cross-reference gvinum(8) instead of vinum(8). 2013-03-16 22:02:47 +00:00
clri
comcontrol A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
conscontrol
ddb remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
devd devd: Correct typo in comment. 2013-03-04 02:21:31 +00:00
devfs mdoc: minor improvements to a few lists with tags. 2012-06-09 07:18:53 +00:00
dhclient Revert r239356 and use an alternate algorithm. 2012-08-22 13:53:37 +00:00
dmesg
dump Mark non-returning function as such 2012-11-29 05:16:50 +00:00
dumpfs The purpose of this change to the FFS layout policy is to reduce the 2013-03-22 21:45:28 +00:00
dumpon Document that you can use -v along with -l. 2012-11-02 17:30:08 +00:00
etherswitchcfg Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
fdisk
fdisk_pc98
ffsinfo Cross-reference gvinum(8) instead of vinum(8). 2013-03-16 22:02:47 +00:00
fsck Make fsck and fsck_msdosfs WARNS=6 clean 2012-10-21 12:01:19 +00:00
fsck_ffs Note that output is in seconds, not msec. 2013-03-24 22:37:10 +00:00
fsck_msdosfs Print a newline after the error message. 2012-11-03 09:18:37 +00:00
fsdb Revert 248634 and 248643 (e.g., restoring 248625 and 248639). 2013-03-23 20:00:02 +00:00
fsirand Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
gbde Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
geom Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
ggate Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
growfs Use arc4random() instead of random(). 2013-04-15 05:39:21 +00:00
gvinum Remove reference to vinum(4). The manual page was removed in r248370. 2013-03-16 21:50:06 +00:00
hastctl Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
hastd Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
ifconfig Mark a mesh path to a mesh gate with a 'G'. 2013-02-07 21:23:03 +00:00
init init: Remove unnecessary 2-second delay before calling reboot(2). 2012-05-25 19:45:01 +00:00
ipf Link ipfilter(4) and ipfilter(5) to the build to stop the wrong man page 2012-08-28 12:33:54 +00:00
ipfw Minor spelling and grammar fixes. 2013-04-11 19:05:24 +00:00
iscontrol
kldconfig
kldload Remove contractions. 2013-04-11 18:46:41 +00:00
kldstat
kldunload
ldconfig Add a comment about why aout support is still here: We need it for 2013-03-19 16:57:04 +00:00
mca Fix a variety of compile errors with gcc48 and clang 2012-05-31 08:22:02 +00:00
md5 Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
mdconfig Disallow attaching preloaded memory disks via ioctl. 2012-11-21 16:56:47 +00:00
mdmfs
mknod
mksnap_ffs
mount Disconnect non-MPSAFE SMBFS from the build in preparation for dropping 2012-10-18 12:04:56 +00:00
mount_cd9660 Update the manual page to reflect reality. With r138509 and r152355, 2013-03-05 23:05:43 +00:00
mount_fusefs Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
mount_msdosfs GC unused variables. Prefer NULL over 0 for pointers. 2013-03-05 22:41:35 +00:00
mount_nfs GC unused variables. Prefer NULL over 0 for pointers. 2013-03-05 22:41:35 +00:00
mount_nullfs GC unused variables. Prefer NULL over 0 for pointers. 2013-03-05 22:41:35 +00:00
mount_udf Use build_iovec() to make it less cryptic. This also fixes warnings. 2013-03-06 00:36:33 +00:00
mount_unionfs GC unused variables. Prefer NULL over 0 for pointers. 2013-03-05 22:41:35 +00:00
nandfs mdoc: remove superfluous paragraph macro. 2012-05-17 11:29:22 +00:00
natd remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
newfs Remove contractions. 2013-04-11 18:46:41 +00:00
newfs_msdos newfs_msdos: cosmetical cleanups 2013-01-19 03:34:02 +00:00
newfs_nandfs mdoc: remove whitespace. 2012-05-17 11:50:12 +00:00
nfsiod
nos-tun
nvmecontrol Remove the NVME_IDENTIFY_CONTROLLER and NVME_IDENTIFY_NAMESPACE IOCTLs and replace 2013-04-12 17:56:47 +00:00
pfctl - Get rid of #ifdef __FreeBSD__. 2012-09-29 16:42:01 +00:00
pflogd pflogd does not depend on libutil 2013-01-01 18:28:21 +00:00
ping Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
ping6 Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
quotacheck Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
rcorder Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
reboot Clarify that overriding the -h/-D flags through flags in device.hints 2013-02-26 23:18:35 +00:00
recoverdisk Correct type for DIOCGSTRIPESIZE. Without this there 2013-03-14 20:05:49 +00:00
resolvconf
restore Check the return error of set[e][ug]id. While this can never fail in the 2012-10-22 03:07:05 +00:00
route Retire struct sockaddr_inarp. 2013-01-31 08:55:21 +00:00
routed
rtsol
savecore With rotating kernel dumps the higest dump number is not necessarily the 2012-12-16 23:09:27 +00:00
sconfig
setkey Correct prefix for "locally installed things" 2013-01-16 05:03:46 +00:00
shutdown Add simple example. 2013-03-19 21:40:14 +00:00
spppcontrol
sunlabel
swapon
sysctl Use the right format string for line buffer. 2013-01-13 04:28:44 +00:00
tunefs The purpose of this change to the FFS layout policy is to reduce the 2013-03-22 21:45:28 +00:00
umount Fix memory leak in umount.c 2012-11-15 15:06:21 +00:00
Makefile Remove all legacy ATA code parts, not used since options ATA_CAM enabled in 2013-04-04 07:12:24 +00:00
Makefile.amd64 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.arm
Makefile.i386 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.pc98
Makefile.sparc64