diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-22 16:17:14 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:52 +0100 |
commit | 50fc5bc747b77a7624853bd05ef21ae966e05a2b (patch) | |
tree | 959a309a8f15c68ef7152720cc24a7dac9ac62e5 /common/rop3.c | |
parent | 29e175bb06bc8d9bf2cc2553d7b9715076db61ce (diff) |
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 'common/rop3.c')
-rw-r--r-- | common/rop3.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/rop3.c b/common/rop3.c index 53e8a6d..1ce2cd2 100644 --- a/common/rop3.c +++ b/common/rop3.c @@ -22,13 +22,7 @@ #include <stdio.h> #include "rop3.h" - -#ifndef ASSERT -#define ASSERT(x) if (!(x)) { \ - printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \ - abort(); \ -} -#endif +#include "spice_common.h" #ifndef WARN #define WARN(x) printf("warning: %s\n", x) |