summaryrefslogtreecommitdiffstats
path: root/common/canvas_base.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-22 16:23:38 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commitedfe2683583d7a849661cc08dc1964a5c925dff2 (patch)
treed39eb4af0fba0299b130dbb7b5d8ebe82f53e640 /common/canvas_base.c
parent48db4c2181d4918b0e2727d0bbe864b9e8019d85 (diff)
downloadspice-edfe2683583d7a849661cc08dc1964a5c925dff2.tar.gz
spice-edfe2683583d7a849661cc08dc1964a5c925dff2.tar.xz
spice-edfe2683583d7a849661cc08dc1964a5c925dff2.zip
common: use PANIC from spice_common.h
Diffstat (limited to 'common/canvas_base.c')
-rw-r--r--common/canvas_base.c7
1 files changed, 0 insertions, 7 deletions
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