aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 0081667..3a06874 100644
--- a/util.h
+++ b/util.h
@@ -9,7 +9,7 @@ struct array {
struct mapkey {
uint64_t hash;
- const char *str;
+ const void *str;
size_t len;
};
@@ -47,7 +47,7 @@ void *arraylast(struct array *, size_t);
/* map */
-void mapkey(struct mapkey *, const char *, size_t);
+void mapkey(struct mapkey *, const void *, size_t);
struct map *mkmap(size_t);
void delmap(struct map *, void(void *));
void **mapput(struct map *, struct mapkey *);