Merge "libsparse: Wrap sparse_crc32.h to be C++ compatible."
This commit is contained in:
commit
8710125664
1 changed files with 12 additions and 0 deletions
|
|
@ -14,7 +14,19 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _LIBSPARSE_SPARSE_CRC32_H_
|
||||||
|
#define _LIBSPARSE_SPARSE_CRC32_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size);
|
uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue