mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
tools/mkpasswd: functions that call exit(3) should be marked noreturn
This commit is contained in:
parent
1e75ec9c7d
commit
ef9cb1d8de
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ static char *make_bf_salt_para(int, char *);
|
|||
static char *generate_random_salt(char *, int);
|
||||
static char *generate_poor_salt(char *, int);
|
||||
|
||||
static void full_usage(void);
|
||||
static void brief_usage(void);
|
||||
static void full_usage(void) __attribute__((noreturn));
|
||||
static void brief_usage(void) __attribute__((noreturn));
|
||||
|
||||
static char saltChars[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
||||
/* 0 .. 63, ascii - 64 */
|
||||
|
|
Loading…
Reference in a new issue