mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-04 09:56:26 +00:00
common: use PANIC from spice_common.h
This commit is contained in:
parent
48db4c2181
commit
edfe268358
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user