Skip to contentSkip to conversation

tinycompress: Fix missing '}' around extern C

PATCH Applied Charles Keepax 2 participants 2 messages Dec 6, 2018 – Dec 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinycompress: Fix missing '}' around extern C

From: Piotr Stankiewicz <[email protected]>

---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)
include/tinycompress/tinycompress.h +4 -0
index 780dce6..f0fae30 100644
@@ -276,4 +276,8 @@ 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)
+} // extern "C"
+#endif
+
 #endif
Signature · 1 line
2.11.0
Applied
#1 lore raw
Quoted 1 line · Charles Keepax

From: Piotr Stankiewicz <[email protected]>

Applied, thanks.

Charles please do fix you address book though!

Quoted 26 lines
---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)
include/tinycompress/tinycompress.h +4 -0
index 780dce6..f0fae30 100644
@@ -276,4 +276,8 @@ 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)
+} // extern "C"
+#endif
+
 #endif
Signature · 6 lines
2.11.0

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 1 line
~Vinod