summaryrefslogtreecommitdiff
path: root/murmurhash.c
diff options
context:
space:
mode:
authorjwerle <joseph.werle@gmail.com>2024-12-31 13:48:07 -0500
committerjwerle <joseph.werle@gmail.com>2024-12-31 13:48:07 -0500
commit81a435207adabc6d8e4211728cdb55d17bd63a61 (patch)
treeb5af768ec7ade69abf31495688933b59e7212036 /murmurhash.c
parenta15164f747e51484360a01b404531fe51c2e5b7a (diff)
chore(): clean up
Diffstat (limited to 'murmurhash.c')
-rw-r--r--murmurhash.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/murmurhash.c b/murmurhash.c
index 5a4588e..d3327ac 100644
--- a/murmurhash.c
+++ b/murmurhash.c
@@ -1,9 +1,8 @@
/**
- * `murmurhash.h' - murmurhash
+ * `murmurhash.c' - murmurhash
*
* copyright (c) 2014-2025 joseph werle <joseph.werle@gmail.com>
*/
-
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
@@ -26,8 +25,7 @@ static uint32_t htole32 (uint32_t value) {
#endif
#endif
-uint32_t
-murmurhash (const char *key, uint32_t len, uint32_t seed) {
+uint32_t murmurhash (const char *key, uint32_t len, uint32_t seed) {
uint32_t c1 = 0xcc9e2d51;
uint32_t c2 = 0x1b873593;
uint32_t r1 = 15;