diff options
author | Alfonso Gregory <gfunni234@gmail.com> | 2023-07-07 16:39:23 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-07-07 16:45:17 +0000 |
commit | e97468063d6f9274b885739a9bcb5be7fffc9598 (patch) | |
tree | f86a2c08fc9d7077eda50d19da8e9896152249ca /bin/chmod | |
parent | 8df38859d0f92025540bcbe99c9a291a584327f2 (diff) | |
download | src-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/chmod')
-rw-r--r-- | bin/chmod/chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index e8657af0d97b..cd02c4fa810d 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$"); static volatile sig_atomic_t siginfo; -static void usage(void); +static void usage(void) __dead2; static int may_have_nfs4acl(const FTSENT *ent, int hflag); static void |