[alsa-devel] [PATCH - tinycompress - brace issue 1/1] tinycompress: fix compilation error: missing brace issue
francois.gaffie at intel.com
francois.gaffie at intel.com
Thu Mar 24 15:31:30 CET 2016
From: François Gaffie <francois.gaffie at intel.com>
Signed-off-by: François Gaffie <francois.gaffie at 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
--
2.5.0
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the Alsa-devel
mailing list