mixer(8): Style: Tag no-return usage() as __dead2

Coverity really should have figured this out from the exit(3) call at the end
of the routine, but just make it explicit.

No functional change.

Reported by:	Coverity
CID:		1304866 (false positive double-close of 'baz')
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Conrad Meyer
2016-05-11 17:27:27 +00:00
parent dacb734ea8
commit 02dc4f1751
+2 -2
View File
@@ -26,11 +26,11 @@ __FBSDID("$FreeBSD$");
static const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES;
static void usage(int devmask, int recmask);
static void usage(int devmask, int recmask) __dead2;
static int res_name(const char *name, int mask);
static void print_recsrc(int recsrc, int recmask, int sflag);
static void
static void __dead2
usage(int devmask, int recmask)
{
int i, n;