[alsa-devel] [PATCH - tinycompress - brace issue 1/1] tinycompress: fix compilation error: missing brace issue
From: François Gaffie francois.gaffie@intel.com
Signed-off-by: François Gaffie francois.gaffie@intel.com
diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h index 68626a4..d35801b 100644 --- a/include/tinycompress/tinycompress.h +++ b/include/tinycompress/tinycompress.h @@ -273,4 +273,7 @@ int is_compress_ready(struct compress *compress); /* Returns a human readable reason for the last error */ const char *compress_get_error(struct compress *compress);
+#if defined(__cplusplus) +} +#endif #endif diff --git a/include/tinycompress/tinymp3.h b/include/tinycompress/tinymp3.h index a709c39..7015320 100644 --- a/include/tinycompress/tinymp3.h +++ b/include/tinycompress/tinymp3.h @@ -102,5 +102,7 @@ enum mp3_stereo_mode { DUAL = 0x02, MONO = 0x03 }; - +#if defined(__cplusplus) +} +#endif #endif
participants (1)
-
francois.gaffie@intel.com