summaryrefslogtreecommitdiffstats
path: root/libblkid/include/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libblkid/include/crc32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libblkid/include/crc32.h b/libblkid/include/crc32.h
new file mode 100644
index 000000000..26169109e
--- /dev/null
+++ b/libblkid/include/crc32.h
@@ -0,0 +1,10 @@
+#ifndef UL_NG_CRC32_H
+#define UL_NG_CRC32_H
+
+#include <sys/types.h>
+#include <stdint.h>
+
+extern uint32_t crc32(uint32_t seed, const unsigned char *buf, size_t len);
+
+#endif
+