Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: gzip_utils.h
- Revision:
- 4:c269a5aba4b9
- Parent:
- 2:111ce9bdefa4
--- a/gzip_utils.h Tue Feb 28 16:50:16 2017 +0000 +++ b/gzip_utils.h Tue Feb 28 16:52:08 2017 +0000 @@ -5,7 +5,7 @@ #include "zlib.h" // external declarations -extern int gzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length); -extern int gunzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length); +extern "C" int gzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length); +extern "C" int gunzip(unsigned char *dst, unsigned long *dst_length, unsigned char *src, unsigned long src_length); #endif // __GZIP_UTILS_H__ \ No newline at end of file