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:18 +0000 |
commit | a9cce232a6b930d2d1932f1f20a86a84d9cc77cd (patch) | |
tree | dbb4bb7f2b8573c2cf974703f37187c7bd7e36a8 /usr.sbin/nscd/nscd.c | |
parent | 72e1ea2f13619f3bd299348f281815a6669f3775 (diff) | |
download | src-a9cce232a6b930d2d1932f1f20a86a84d9cc77cd.tar.gz src-a9cce232a6b930d2d1932f1f20a86a84d9cc77cd.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/nscd/nscd.c')
-rw-r--r-- | usr.sbin/nscd/nscd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nscd/nscd.c b/usr.sbin/nscd/nscd.c index 8a569a2dc9ab..14d0a6780bf4 100644 --- a/usr.sbin/nscd/nscd.c +++ b/usr.sbin/nscd/nscd.c @@ -85,7 +85,7 @@ static void process_socket_event(struct kevent *, struct runtime_env *, static void process_timer_event(struct kevent *, struct runtime_env *, struct configuration *); static void *processing_thread(void *); -static void usage(void); +static void usage(void) __dead2; void get_time_func(struct timeval *); |