From c4482c7ff2bf441e6a9e06f30f1b247171bb0738 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 14 Mar 2012 21:01:48 +0100 Subject: Use SPICE_{BEGIN,END}_DECLS --- common/lz_common.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'common/lz_common.h') 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_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 -- cgit v1.2.3