mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
M4: Declare error functions NORETURN
Should fix false positives in static analysis tools
This commit is contained in:
parent
551906dd50
commit
5a63845005
@ -22,6 +22,7 @@
|
||||
#ifndef M4_CORE_ERRORS_H
|
||||
#define M4_CORE_ERRORS_H
|
||||
|
||||
#include "common/scummsys.h"
|
||||
#include "m4/m4_types.h"
|
||||
|
||||
namespace M4 {
|
||||
@ -29,8 +30,8 @@ namespace M4 {
|
||||
#define FL __FILE__,__LINE__
|
||||
#define ERROR_FILE "error.m4"
|
||||
|
||||
void error_show(const char *filename, uint32 line, quadchar errorcode, const char *fmt, ...);
|
||||
void error_show(const char *filename, uint32 line, quadchar errorcode);
|
||||
void NORETURN_PRE error_show(const char *filename, uint32 line, quadchar errorcode, const char *fmt, ...) NORETURN_POST;
|
||||
void NORETURN_PRE error_show(const char *filename, uint32 line, quadchar errorcode) NORETURN_POST;
|
||||
void error_look_up(quadchar errorcode, char *result_string);
|
||||
|
||||
} // namespace M4
|
||||
|
Loading…
x
Reference in New Issue
Block a user