diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-22 16:17:14 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | bb00047691bc0e245e326ee540001ef1da6ed9e0 (patch) | |
tree | 1f84c148d96fa192a2db5c39fb5dc4ecc7e65f3c /glc.c | |
parent | a8cfd1566fd1b2aaf39cb15a9efb9e1ef0cb730f (diff) | |
download | spice-common-bb00047691bc0e245e326ee540001ef1da6ed9e0.tar.gz spice-common-bb00047691bc0e245e326ee540001ef1da6ed9e0.tar.xz spice-common-bb00047691bc0e245e326ee540001ef1da6ed9e0.zip |
common,server: use ASSERT from spice_common.h
spice_common.h provides an ASSERT macro, no need to duplicate it
in many places. For now client/debug.h keeps its own copy since
debug.h and spice_common.h have clashes on other macros which are
trickier to unify.
Diffstat (limited to 'glc.c')
-rw-r--r-- | glc.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -40,8 +40,6 @@ #include "glc.h" #include "gl_utils.h" -#define ASSERT(x) if (!(x)) {printf("%s: assert failed %s\n", __FUNCTION__, #x); abort();} - #define WARN_ONCE(x) { \ static int warn = TRUE; \ if (warn) { \ |