ircd: functions that call exit(3) should be marked noreturn
This commit is contained in:
parent
341560ecf2
commit
df3db5d99b
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