common: use PANIC from spice_common.h

This commit is contained in:
Christophe Fergeau 2011-04-22 16:23:38 +02:00
parent 48db4c2181
commit edfe268358
3 changed files with 0 additions and 20 deletions

View File

@ -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

View File

@ -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,

View File

@ -28,13 +28,6 @@
#include <stdio.h>
#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) \