From d07fa25e04a19ccb9aa25bb6e2156d23d213db77 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 28 Nov 2023 20:11:05 +0100 Subject: Meta: Apply new clang-format rules to kernel --- kernel/hashmap/hashmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'kernel/hashmap') diff --git a/kernel/hashmap/hashmap.c b/kernel/hashmap/hashmap.c index 72524e7..8779f0b 100644 --- a/kernel/hashmap/hashmap.c +++ b/kernel/hashmap/hashmap.c @@ -28,10 +28,10 @@ */ #include "hashmap.h" +#include #include #include #include -#include #define CONSTANT 0x031b5515 @@ -67,7 +67,9 @@ char *copy_c_string(const char *str) { return ret_string; } -u32 limit_hash(HashMap *m, u32 hash) { return hash % m->size; } +u32 limit_hash(HashMap *m, u32 hash) { + return hash % m->size; +} void free_linkedlist_entry(LinkedList *entry) { if (entry->key_allocated) { -- cgit v1.2.3