aboutsummaryrefslogtreecommitdiff
path: root/bin/chio
diff options
context:
space:
mode:
authorAlfonso Gregory <gfunni234@gmail.com>2023-07-07 16:39:23 +0000
committerWarner Losh <imp@FreeBSD.org>2023-07-07 16:45:17 +0000
commite97468063d6f9274b885739a9bcb5be7fffc9598 (patch)
treef86a2c08fc9d7077eda50d19da8e9896152249ca /bin/chio
parent8df38859d0f92025540bcbe99c9a291a584327f2 (diff)
downloadsrc-e97468063d6f9274b885739a9bcb5be7fffc9598.tar.gz
src-e97468063d6f9274b885739a9bcb5be7fffc9598.zip
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
Diffstat (limited to 'bin/chio')
-rw-r--r--bin/chio/chio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c
index da9e4696588b..2a7ce706afd7 100644
--- a/bin/chio/chio.c
+++ b/bin/chio/chio.c
@@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$");
#include "defs.h"
#include "pathnames.h"
-static void usage(void);
+static void usage(void) __dead2;
static void cleanup(void);
static u_int16_t parse_element_type(char *);
static u_int16_t parse_element_unit(char *);