Message ID | 20181206100427.18472-1-ckeepax@opensource.cirrus.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tinycompress: Fix missing '}' around extern C | expand |
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
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