[alsa-devel] [PATCH] tinycompress: Fix missing '}' around extern C

Vinod Koul vkoul at kernel.org
Fri Dec 7 06:10:31 CET 2018


On 06-12-18, 10:04, Charles Keepax wrote:
> From: Piotr Stankiewicz <piotrs at opensource.cirrus.com>

Applied, thanks.

Charles please do fix you address book though!

> Signed-off-by: Piotr Stankiewicz <piotrs at opensource.cirrus.com>
> Signed-off-by: Charles Keepax <ckeepax at 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 at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
~Vinod


More information about the Alsa-devel mailing list