Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a29c0127 authored by Tao Bao's avatar Tao Bao
Browse files

libsparse: Wrap sparse_crc32.h to be C++ compatible.

Change-Id: Ic6b1721859937984619a262c459f1f734d81c149
parent a3ee46f1
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -14,7 +14,19 @@
 * limitations under the License.
 */

#ifndef _LIBSPARSE_SPARSE_CRC32_H_
#define _LIBSPARSE_SPARSE_CRC32_H_

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size);

#ifdef __cplusplus
}
#endif

#endif