Static analyzers: Add noreturn attribute to die()

next
Michael Stapelberg 2009-06-11 03:37:13 +02:00
parent 6e5406167c
commit b13a43159f
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void slog(char *fmt, ...);
* Prints the message (see printf()) to stderr, then exits the program.
*
*/
void die(char *fmt, ...);
void die(char *fmt, ...) __attribute__((__noreturn__));
/**
* Safe-wrapper around malloc which exits if malloc returns NULL (meaning that there