add noreturn attribute

fix false-positive warning
This commit is contained in:
Quentin PEREZ 2015-05-19 09:45:04 +02:00
parent a97e18bbe9
commit e2e5631b8c
2 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@ int kore_validator_check(struct http_request *,
struct kore_validator *, void *);
struct kore_validator *kore_validator_lookup(const char *);
void fatal(const char *, ...);
void fatal(const char *, ...) __attribute__((noreturn));
void kore_debug_internal(char *, int, const char *, ...);
u_int16_t net_read16(u_int8_t *);

View File

@ -80,7 +80,7 @@ struct cfile {
TAILQ_HEAD(cfile_list, cfile);
static void cli_fatal(const char *, ...);
static void cli_fatal(const char *, ...) __attribute__((noreturn));
static void cli_file_close(int);
static void cli_run_kore(void *);