[PATCH - tinycompress - brace issue 1/1] tinycompress: fix compilation error: missing brace issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: François Gaffie <francois.gaffie@xxxxxxxxx>

Signed-off-by: François Gaffie <francois.gaffie@xxxxxxxxx>

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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux