quit() should not be __noreturn__ as it is non-void on some platforms.
This commit is contained in:
2
visudo.c
2
visudo.c
@@ -96,7 +96,7 @@ struct sudoersfile {
|
|||||||
/*
|
/*
|
||||||
* Function prototypes
|
* Function prototypes
|
||||||
*/
|
*/
|
||||||
static RETSIGTYPE quit __P((int)) __attribute__((__noreturn__));
|
static RETSIGTYPE quit __P((int));
|
||||||
static char *get_args __P((char *));
|
static char *get_args __P((char *));
|
||||||
static char *get_editor __P((char **));
|
static char *get_editor __P((char **));
|
||||||
static char whatnow __P((void));
|
static char whatnow __P((void));
|
||||||
|
Reference in New Issue
Block a user