summaryrefslogtreecommitdiffstats
path: root/common/rop3.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-22 16:39:29 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commit2a611d9955546dc52be37651e6f7b6f7f03c7aa4 (patch)
treef3bfb731ffadbec59f32943029b4957022beb66c /common/rop3.c
parentedfe2683583d7a849661cc08dc1964a5c925dff2 (diff)
downloadspice-2a611d9955546dc52be37651e6f7b6f7f03c7aa4.tar.gz
spice-2a611d9955546dc52be37651e6f7b6f7f03c7aa4.tar.xz
spice-2a611d9955546dc52be37651e6f7b6f7f03c7aa4.zip
move WARN and WARN_ONCE to spice_common.h
Diffstat (limited to 'common/rop3.c')
-rw-r--r--common/rop3.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/common/rop3.c b/common/rop3.c
index 1ce2cd25..af872c1d 100644
--- a/common/rop3.c
+++ b/common/rop3.c
@@ -24,10 +24,6 @@
#include "rop3.h"
#include "spice_common.h"
-#ifndef WARN
-#define WARN(x) printf("warning: %s\n", x)
-#endif
-
typedef void (*rop3_with_pattern_handler_t)(pixman_image_t *d, pixman_image_t *s,
SpicePoint *src_pos, pixman_image_t *p,
SpicePoint *pat_pos);
@@ -51,13 +47,13 @@ static void default_rop3_with_pattern_handler(pixman_image_t *d, pixman_image_t
SpicePoint *src_pos, pixman_image_t *p,
SpicePoint *pat_pos)
{
- WARN("not implemented 0x%x");
+ WARN("not implemented");
}
static void default_rop3_withe_color_handler(pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos,
uint32_t rgb)
{
- WARN("not implemented 0x%x");
+ WARN("not implemented");
}
static void default_rop3_test_handler()