diff --git a/common/canvas_base.c b/common/canvas_base.c index a8db3672..d11c8ec0 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c @@ -54,13 +54,6 @@ #define WARN(x) printf("warning: %s\n", x) #endif -#ifndef PANIC -#define PANIC(str) { \ - printf("%s: panic: %s", __FUNCTION__, str); \ - abort(); \ -} -#endif - #ifndef DBG #define DBG(level, format, ...) printf("%s: debug: " format "\n", __FUNCTION__, ## __VA_ARGS__); #endif diff --git a/common/ogl_ctx.c b/common/ogl_ctx.c index 072a0c0e..76a35514 100644 --- a/common/ogl_ctx.c +++ b/common/ogl_ctx.c @@ -26,12 +26,6 @@ #include "ogl_ctx.h" - -#define PANIC(str) { \ - printf("%s: panic: %s", __FUNCTION__, str); \ - abort(); \ -} - enum { OGLCTX_TYPE_PBUF, OGLCTX_TYPE_PIXMAP, diff --git a/common/pixman_utils.c b/common/pixman_utils.c index 99a30050..9f3f1dee 100644 --- a/common/pixman_utils.c +++ b/common/pixman_utils.c @@ -28,13 +28,6 @@ #include #include "mem.h" -#ifndef PANIC -#define PANIC(str) { \ - printf("%s: panic: %s", __FUNCTION__, str); \ - abort(); \ -} -#endif - #define SOLID_RASTER_OP(_name, _size, _type, _equation) \ static void \ solid_rop_ ## _name ## _ ## _size (_type *ptr, int len, _type src) \