aboutsummaryrefslogtreecommitdiff
path: root/stand/powerpc
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
commit5762de7243180668137208ec377eefe164283206 (patch)
tree2a9ec77d99ab476298e2e042ffedb1366f35299a /stand/powerpc
parent65f3be91104cb27bbdd1997240edd6024bd95136 (diff)
downloadsrc-5762de7243180668137208ec377eefe164283206.tar.gz
src-5762de7243180668137208ec377eefe164283206.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 'stand/powerpc')
-rw-r--r--stand/powerpc/boot1.chrp/boot1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/powerpc/boot1.chrp/boot1.c b/stand/powerpc/boot1.chrp/boot1.c
index ed7c55d11d6f..2423b5680551 100644
--- a/stand/powerpc/boot1.chrp/boot1.c
+++ b/stand/powerpc/boot1.chrp/boot1.c
@@ -58,7 +58,7 @@ static void exit(int) __dead2;
static void load(const char *);
static int dskread(void *, uint64_t, int);
-static void usage(void);
+static void usage(void) __dead2;
static void bcopy(const void *src, void *dst, size_t len);
static void bzero(void *b, size_t len);