summaryrefslogtreecommitdiffstats
path: root/src/hashmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashmap.h')
-rw-r--r--src/hashmap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hashmap.h b/src/hashmap.h
index 920ebcb..3c30548 100644
--- a/src/hashmap.h
+++ b/src/hashmap.h
@@ -39,9 +39,11 @@ HashError decrement(pid_t key, HashMap map);
HashError set_name(pid_t key, char *name, HashMap map);
HashError get_name(pid_t key, HashMap map, struct String *name);
-struct {
+typedef struct {
int collisions;
int steps;
-} DebugStats;
+} DebugStats_t;
+
+extern DebugStats_t DebugStats;
#endif /* !HASHMAP_H */