diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-14 21:01:48 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-15 02:01:08 +0100 |
commit | 004a011b20b2993690c9b4fa31a8690284674120 (patch) | |
tree | b53b3f635a7d3fcab1eca023454f88fc92ea9f2c /pixman_utils.h | |
parent | 1074c36af2944ebc2f48c055401c2762d83d8859 (diff) |
Use SPICE_{BEGIN,END}_DECLS
Diffstat (limited to 'pixman_utils.h')
-rw-r--r-- | pixman_utils.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pixman_utils.h b/pixman_utils.h index 61eaddd..dd565ef 100644 --- a/pixman_utils.h +++ b/pixman_utils.h @@ -20,15 +20,14 @@ #define _H__PIXMAN_UTILS #include <spice/types.h> +#include <spice/macros.h> #include <stdlib.h> #define PIXMAN_DONT_DEFINE_STDINT #include <pixman.h> #include "draw.h" -#ifdef __cplusplus -extern "C" { -#endif +SPICE_BEGIN_DECLS /* This lists all possible 2 argument binary raster ops. * This enum has the same values as the X11 GXcopy type @@ -129,8 +128,6 @@ void spice_pixman_copy_rect(pixman_image_t *image, int w, int h, int dest_x, int dest_y); -#ifdef __cplusplus -} -#endif +SPICE_END_DECLS #endif /* _H__PIXMAN_UTILS */ |