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/cp | |
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/cp')
-rw-r--r-- | bin/cp/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cp/extern.h b/bin/cp/extern.h index 65360ccaf6c1..f42315f07390 100644 --- a/bin/cp/extern.h +++ b/bin/cp/extern.h @@ -50,5 +50,5 @@ int copy_special(struct stat *, int); int setfile(struct stat *, int); int preserve_dir_acls(struct stat *, char *, char *); int preserve_fd_acls(int, int); -void usage(void); +void usage(void) __dead2; __END_DECLS |