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

(cherry picked from commit 11f86ca4e4)
This commit is contained in:
Frederic Pierret (Epitre) 2017-09-07 15:22:31 +02:00 committed by Marek Marczykowski-Górecki
parent 162d5b1e59
commit 0f56bc904e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

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));