summaryrefslogtreecommitdiff
path: root/common/rop3.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rop3.h')
-rw-r--r--common/rop3.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/common/rop3.h b/common/rop3.h
index 91c9207..7e00499 100644
--- a/common/rop3.h
+++ b/common/rop3.h
@@ -20,13 +20,12 @@
#define _H_ROP3
#include <stdint.h>
+#include <spice/macros.h>
#include "draw.h"
#include "pixman_utils.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+SPICE_BEGIN_DECLS
void do_rop3_with_pattern(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, SpicePoint *src_pos,
pixman_image_t *p, SpicePoint *pat_pos);
@@ -35,8 +34,6 @@ void do_rop3_with_color(uint8_t rop3, pixman_image_t *d, pixman_image_t *s, Spic
void rop3_init(void);
-#ifdef __cplusplus
-}
-#endif
+SPICE_END_DECLS
#endif