forked from mirrors/kore
add noreturn attribute
fix false-positive warning
This commit is contained in:
parent
a97e18bbe9
commit
e2e5631b8c
@ -516,7 +516,7 @@ int kore_validator_check(struct http_request *,
|
|||||||
struct kore_validator *, void *);
|
struct kore_validator *, void *);
|
||||||
struct kore_validator *kore_validator_lookup(const char *);
|
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 *, ...);
|
void kore_debug_internal(char *, int, const char *, ...);
|
||||||
|
|
||||||
u_int16_t net_read16(u_int8_t *);
|
u_int16_t net_read16(u_int8_t *);
|
||||||
|
@ -80,7 +80,7 @@ struct cfile {
|
|||||||
|
|
||||||
TAILQ_HEAD(cfile_list, 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_file_close(int);
|
||||||
static void cli_run_kore(void *);
|
static void cli_run_kore(void *);
|
||||||
|
Loading…
Reference in New Issue
Block a user