From 7c0da1e94f07f27a36cdc717d50c787c6fcb7bb2 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 28 May 2014 15:12:58 +0100 Subject: annotate die() as not returning --- utils/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/utils.h b/utils/utils.h index 0922afb7e..80298a4a7 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -257,7 +257,7 @@ nserror snstrjoin(char **str, size_t *size, char sep, size_t nelm, ...); int dir_sort_alpha(const struct dirent **d1, const struct dirent **d2); /* Platform specific functions */ -void die(const char * const error); +void die(const char * const error) __attribute__ ((noreturn)); void warn_user(const char *warning, const char *detail); void PDF_Password(char **owner_pass, char **user_pass, char *path); -- cgit v1.2.3