diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-09-19 13:55:23 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-10-18 20:09:05 +0200 |
commit | 0f5262917fab34b44b43f63946fdf6bb0621875a (patch) | |
tree | 07e449767f00310ef038d786688f891600a01b4d /Hashtable.h | |
parent | 29346d05616ce69e5988b3f1257c340f91299602 (diff) |
Make all required includes explicit
Information as seen by IWYU 0.12 + clang 9 on Linux
Diffstat (limited to 'Hashtable.h')
-rw-r--r-- | Hashtable.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Hashtable.h b/Hashtable.h index f4262091..dcdc89fe 100644 --- a/Hashtable.h +++ b/Hashtable.h @@ -9,7 +9,6 @@ in the source distribution for its full text. #include <stdbool.h> -typedef struct Hashtable_ Hashtable; typedef void(*Hashtable_PairFunction)(int, void*, void*); @@ -19,12 +18,12 @@ typedef struct HashtableItem { struct HashtableItem* next; } HashtableItem; -struct Hashtable_ { +typedef struct Hashtable_ { int size; HashtableItem** buckets; int items; bool owner; -}; +} Hashtable; #ifndef NDEBUG |