X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Far65%2Ferror.h;h=61d2a039487847ef50ec982506868daa40c813f7;hb=1ccb54d58d65da3cf8c4a28424d9114cd07690fb;hp=1f6823269b6d2b48e1e24f51a70ea42b54559eda;hpb=8f1533c8ccab1c1eca4b8ddc4c5b3a671e7e0193;p=cc65 diff --git a/src/ar65/error.h b/src/ar65/error.h index 1f6823269..61d2a0394 100644 --- a/src/ar65/error.h +++ b/src/ar65/error.h @@ -43,19 +43,6 @@ -/*****************************************************************************/ -/* Data */ -/*****************************************************************************/ - - - -/* Messages for internal compiler errors */ -extern const char _MsgCheckFailed []; -extern const char _MsgPrecondition []; -extern const char _MsgFail []; - - - /*****************************************************************************/ /* Code */ /*****************************************************************************/ @@ -71,17 +58,6 @@ void Error (const char* Format, ...) attribute((format(printf,1,2))); void Internal (const char* Format, ...) attribute((format(printf,1,2))); /* Print an internal error message and die */ -#define CHECK(c) \ - if (!(c)) \ - Internal (_MsgCheckFailed, #c, c, __FILE__, __LINE__) - -#define PRECONDITION(c) \ - if (!(c)) \ - Internal (_MsgPrecondition, #c, c, __FILE__, __LINE__) - -#define FAIL(s) \ - Internal (_MsgFail, s, __FILE__, __LINE__) - /* End of error.h */