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-20 15:30:23 +0100 |
commit | c4482c7ff2bf441e6a9e06f30f1b247171bb0738 (patch) | |
tree | a2ba30dcd9756e77b745af94a6e4fbe304eaba3b /common/lz.h | |
parent | e800e51d4ecbae0b0023bd829d0cf9082381fc00 (diff) |
Use SPICE_{BEGIN,END}_DECLS
Diffstat (limited to 'common/lz.h')
-rw-r--r-- | common/lz.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/common/lz.h b/common/lz.h index 248ab2a..2393749 100644 --- a/common/lz.h +++ b/common/lz.h @@ -6,14 +6,14 @@ #ifndef __LZ_H #define __LZ_H +#include <spice/macros.h> + #include "lz_common.h" #include "lz_config.h" #include "draw.h" #include "macros.h" -#ifdef __cplusplus -extern "C" { -#endif +SPICE_BEGIN_DECLS typedef void *LzContext; @@ -76,8 +76,6 @@ LzContext *lz_create(LzUsrContext *usr); void lz_destroy(LzContext *lz); -#ifdef __cplusplus -} -#endif +SPICE_END_DECLS #endif // __LZ_H |