summaryrefslogtreecommitdiffstats
path: root/common/rop3.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-22 16:39:29 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:52 +0100
commit09453dcd43217c8e2546c245f4e198f221824f77 (patch)
tree5d8e9fcc99e27c96adcabaf7cc7ddea5f98d402e /common/rop3.c
parent56f2e9648e7df5082f1574bb709b062219d4a4bf (diff)
downloadspice-common-09453dcd43217c8e2546c245f4e198f221824f77.tar.gz
spice-common-09453dcd43217c8e2546c245f4e198f221824f77.tar.xz
spice-common-09453dcd43217c8e2546c245f4e198f221824f77.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 1ce2cd2..af872c1 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()