summaryrefslogtreecommitdiffstats
path: root/common/lz_common.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-14 21:01:48 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:30:23 +0100
commitc4482c7ff2bf441e6a9e06f30f1b247171bb0738 (patch)
treea2ba30dcd9756e77b745af94a6e4fbe304eaba3b /common/lz_common.h
parente800e51d4ecbae0b0023bd829d0cf9082381fc00 (diff)
downloadspice-common-c4482c7ff2bf441e6a9e06f30f1b247171bb0738.tar.gz
spice-common-c4482c7ff2bf441e6a9e06f30f1b247171bb0738.tar.xz
spice-common-c4482c7ff2bf441e6a9e06f30f1b247171bb0738.zip
Use SPICE_{BEGIN,END}_DECLS
Diffstat (limited to 'common/lz_common.h')
-rw-r--r--common/lz_common.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/common/lz_common.h b/common/lz_common.h
index 4156cff..2ec374b 100644
--- a/common/lz_common.h
+++ b/common/lz_common.h
@@ -23,9 +23,9 @@
#ifndef _LZ_COMMON_H
#define _LZ_COMMON_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <spice/macros.h>
+
+SPICE_BEGIN_DECLS
//#define DEBUG
@@ -62,8 +62,6 @@ static const int RGB_BYTES_PER_PIXEL[] = {0, 1, 1, 1, 1, 1, 2, 3, 4, 4, 4};
#define LZ_VERSION_MINOR 1U
#define LZ_VERSION ((LZ_VERSION_MAJOR << 16) | (LZ_VERSION_MINOR & 0xffff))
-#ifdef __cplusplus
-}
-#endif
+SPICE_END_DECLS
#endif // _LZ_COMMON_H