Handle fallthrough with attribute(noreturn) for consistancy and compatiblity with older GCC

This commit is contained in:
Frederic Pierret (Epitre) 2017-09-07 15:22:31 +02:00
parent 08bfc8bbac
commit 11f86ca4e4
No known key found for this signature in database
GPG Key ID: 42FCB65E84F3267C

View File

@ -1,3 +1,3 @@
void gui_fatal(const char *fmt, ...);
void gui_fatal(const char *fmt, ...) __attribute__((noreturn));
void gui_nonfatal(const char *fmt, ...);
void qfile_gui_fatal(const char *fmt, va_list args);
void qfile_gui_fatal(const char *fmt, va_list args) __attribute__((noreturn));