aboutsummaryrefslogtreecommitdiff
path: root/advent-of-code/2022/lib/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'advent-of-code/2022/lib/crc32.h')
-rw-r--r--advent-of-code/2022/lib/crc32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/advent-of-code/2022/lib/crc32.h b/advent-of-code/2022/lib/crc32.h
new file mode 100644
index 0000000..86587f1
--- /dev/null
+++ b/advent-of-code/2022/lib/crc32.h
@@ -0,0 +1,9 @@
+#ifndef CRC32_H_
+#define CRC32_H_
+
+#include <stdint.h>
+
+uint32_t crc32(uint32_t r, void* buf, int size);
+
+#endif
+