tinycompress: Fix missing '}' around extern C
diff mbox series

Message ID 20181206100427.18472-1-ckeepax@opensource.cirrus.com
State New
Headers show
Series
  • tinycompress: Fix missing '}' around extern C
Related show

Commit Message

Charles Keepax Dec. 6, 2018, 10:04 a.m. UTC
From: Piotr Stankiewicz <piotrs@opensource.cirrus.com>

Signed-off-by: Piotr Stankiewicz <piotrs@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Vinod Koul Dec. 7, 2018, 5:10 a.m. UTC | #1
On 06-12-18, 10:04, Charles Keepax wrote:
> From: Piotr Stankiewicz <piotrs@opensource.cirrus.com>

Applied, thanks.

Charles please do fix you address book though!

> Signed-off-by: Piotr Stankiewicz <piotrs@opensource.cirrus.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
>  include/tinycompress/tinycompress.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
> index 780dce6..f0fae30 100644
> --- a/include/tinycompress/tinycompress.h
> +++ b/include/tinycompress/tinycompress.h
> @@ -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
> -- 
> 2.11.0
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Patch
diff mbox series

diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
index 780dce6..f0fae30 100644
--- a/include/tinycompress/tinycompress.h
+++ b/include/tinycompress/tinycompress.h
@@ -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