aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/accton
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:18 +0000
commit72e1ea2f13619f3bd299348f281815a6669f3775 (patch)
tree2070c276154548fb82d673b20d44e06d8f710a4b /usr.sbin/accton
parentcccdaf507eee8fb34494b4624eb85bb951e323c8 (diff)
downloadsrc-72e1ea2f13619f3bd299348f281815a6669f3775.tar.gz
src-72e1ea2f13619f3bd299348f281815a6669f3775.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 'usr.sbin/accton')
-rw-r--r--usr.sbin/accton/accton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/accton/accton.c b/usr.sbin/accton/accton.c
index 80823ecabbc5..91b775928389 100644
--- a/usr.sbin/accton/accton.c
+++ b/usr.sbin/accton/accton.c
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-static void usage(void);
+static void usage(void) __dead2;
int
main(int argc, char *argv[])