mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
6d09982145
commit
6fde066264
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ static unsigned char bigbuffer[BIGBUFFERSIZE];
|
|||
* See header file for defaults.
|
||||
*/
|
||||
|
||||
static void usage(void);
|
||||
static void usage(void) __dead2;
|
||||
static char *execname;
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
#include "util.h"
|
||||
#include <alias.h>
|
||||
|
||||
static void usage(void);
|
||||
static void usage(void) __dead2;
|
||||
|
||||
#define timevalcmp(tv, uv, cmp) \
|
||||
(((tv).tv_sec == (uv).tv_sec) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue