diff options
author | Anton Kling <anton@kling.gg> | 2023-11-10 15:47:08 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-10 15:47:08 +0100 |
commit | 9a1f977e39d8e9fcb6a9cb2a612f4743e802221d (patch) | |
tree | 1fc53f6e80eb40d24274f2f8967d584b88c6d664 /kernel/hashmap/hashmap.h | |
parent | 0cb4afef6da5488a128e5aaece435e9aa5f5797e (diff) |
Kernel Style: Change uint*_t -> u*
Diffstat (limited to 'kernel/hashmap/hashmap.h')
-rw-r--r-- | kernel/hashmap/hashmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/hashmap/hashmap.h b/kernel/hashmap/hashmap.h index 40f146a..d4556dc 100644 --- a/kernel/hashmap/hashmap.h +++ b/kernel/hashmap/hashmap.h @@ -6,7 +6,7 @@ #ifndef HASHMAP_H #define HASHMAP_H #include <stddef.h> -#include <stdint.h> +#include <typedefs.h> typedef struct LinkedList { const char *key; @@ -20,7 +20,7 @@ typedef struct HashMap { LinkedList **entries; size_t size; size_t num_entries; - uint32_t (*hash_function)(const uint8_t *data, size_t len); + u32 (*hash_function)(const u8 *data, size_t len); } HashMap; HashMap *hashmap_create(size_t size); |