ircd: functions that call exit(3) should be marked noreturn
This commit is contained in:
parent
47493ba39c
commit
6be270b107
2 changed files with 4 additions and 1 deletions
|
@ -103,6 +103,6 @@ extern bool ircd_ssl_ok;
|
|||
extern bool ircd_zlib_ok;
|
||||
extern int maxconnections;
|
||||
|
||||
void ircd_shutdown(const char *reason);
|
||||
void ircd_shutdown(const char *reason) __attribute__((noreturn));
|
||||
|
||||
#endif
|
||||
|
|
|
@ -66,6 +66,9 @@
|
|||
#include "authproc.h"
|
||||
#include "operhash.h"
|
||||
|
||||
static void
|
||||
ircd_die_cb(const char *str) __attribute__((noreturn));
|
||||
|
||||
/* /quote set variables */
|
||||
struct SetOptions GlobalSetOptions;
|
||||
|
||||
|
|
Loading…
Reference in a new issue