mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
annotate die() as not returning
This commit is contained in:
parent
7d02ae916a
commit
7c0da1e94f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user