diff options
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index fe35ee38a4..14ab36f4b0 100644 --- a/common/util.h +++ b/common/util.h @@ -89,4 +89,17 @@ public: }; + +#if defined(__GNUC__) +void CDECL error(const char *s, ...) NORETURN; +#else +void CDECL NORETURN error(const char *s, ...); +#endif + +void CDECL warning(const char *s, ...); + +void CDECL debug(int level, const char *s, ...); +void checkHeap(); + + #endif |