aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorame <[email protected]>2024-03-27 13:36:18 -0500
committerame <[email protected]>2024-03-27 13:36:18 -0500
commite8654eece8832495f7e1189a866340227082a5ec (patch)
tree03ab44b96e4f011ac880bbfb1af49d16f4f75c03
parenta735c538144f8cc4e059d47d06093a17edd5b31c (diff)
docs
-rw-r--r--docs/crypto.md6
-rw-r--r--src/hash/djb2.c1
-rw-r--r--src/hash/metrohash.c1
-rw-r--r--src/hash/sdbm.c1
4 files changed, 3 insertions, 6 deletions
diff --git a/docs/crypto.md b/docs/crypto.md
index 660bc18..3f7b3f1 100644
--- a/docs/crypto.md
+++ b/docs/crypto.md
@@ -21,9 +21,9 @@ anything marked with % is fixed,
| pearson | 8 | nil | use setpearson(table) to change the table, initial is 0..255|
| xxh64 | 64 | nil | xxhash |
| xxh32 | 32 | nil | |
-| crc8 | 8 | nil | |
-| crc16 | 16 | nil | |
-| crc32 | 32 | nil | |
+| % crc8 | 8 | nil | |
+| % crc16 | 16 | nil | |
+| % crc32 | 32 | nil | |
| fletcher8 | 8 | nil | |
| fletcher16 | 16 | nil | |
| fletcher32 | 32 | nil | |
diff --git a/src/hash/djb2.c b/src/hash/djb2.c
index 19075d2..89f3a00 100644
--- a/src/hash/djb2.c
+++ b/src/hash/djb2.c
@@ -1,4 +1,3 @@
-#include "../util.h"
#include "../crypto.h"
#include <stdio.h>
#include <stdint.h>
diff --git a/src/hash/metrohash.c b/src/hash/metrohash.c
index 7da502a..f473b95 100644
--- a/src/hash/metrohash.c
+++ b/src/hash/metrohash.c
@@ -1,4 +1,3 @@
-#include "../util.h"
#include "../crypto.h"
#include <stdio.h>
#include <stdint.h>
diff --git a/src/hash/sdbm.c b/src/hash/sdbm.c
index 0c10289..b32a627 100644
--- a/src/hash/sdbm.c
+++ b/src/hash/sdbm.c
@@ -1,4 +1,3 @@
-#include "../util.h"
#include "../crypto.h"
#include <stdio.h>
#include <stdint.h>