summaryrefslogtreecommitdiff
path: root/lib/map.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/map.h (renamed from src/map.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map.h b/lib/map.h
index 6672323..d2ab6f8 100644
--- a/src/map.h
+++ b/lib/map.h
@@ -2,14 +2,14 @@
#include <stdint.h>
-typedef struct tag_t tag_t;
+struct tag_t;
typedef struct {
uint32_t len;
uint32_t capacity;
- tag_t *entries;
+ struct tag_t *entries;
} map_t;
void map_init(map_t *map);
void map_free(map_t *map);
-void map_put(map_t *map, tag_t *tag);
+void map_put(map_t *map, struct tag_t *tag);