restart: functions that call exit(3) should be marked noreturn
This commit is contained in:
parent
0b91afb2e1
commit
aa7b99eb77
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
#ifndef INCLUDED_restart_h
|
||||
#define INCLUDED_restart_h
|
||||
|
||||
void restart(const char *);
|
||||
void server_reboot(void);
|
||||
void restart(const char *) __attribute__((noreturn));
|
||||
void server_reboot(void) __attribute__((noreturn));
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue