2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Use __attribute__((__noreturn__))

This commit is contained in:
Todd C. Miller
2004-09-30 17:55:21 +00:00
parent 1e65afba3d
commit 8a33025986
3 changed files with 17 additions and 6 deletions

6
sudo.c
View File

@@ -103,8 +103,10 @@ static int init_vars __P((int));
static int parse_args __P((int, char **));
static void initial_setup __P((void));
static void set_loginclass __P((struct passwd *));
static void usage __P((int));
static void usage_excl __P((int));
static void usage __P((int))
__attribute__((__noreturn__));
static void usage_excl __P((int))
__attribute__((__noreturn__));
static struct passwd *get_authpw __P((void));
extern int sudo_edit __P((int, char **));
extern void list_matches __P((void));