summaryrefslogtreecommitdiffstats
path: root/libblkid/src/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'libblkid/src/crc32.h')
-rw-r--r--libblkid/src/crc32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libblkid/src/crc32.h b/libblkid/src/crc32.h
new file mode 100644
index 000000000..26169109e
--- /dev/null
+++ b/libblkid/src/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
+