From 6337f29dd5310fd3c471ee1261077e755c3c2c39 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 2 Jan 2023 00:06:15 +0100 Subject: Add sets --- examples/gehashmap.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'examples/gehashmap.c') diff --git a/examples/gehashmap.c b/examples/gehashmap.c index a29ef14..85c007f 100644 --- a/examples/gehashmap.c +++ b/examples/gehashmap.c @@ -1,3 +1,5 @@ +#define _XOPEN_SOURCE 500 + #include #include #include @@ -19,18 +21,6 @@ itoumap_key_iseq(int a, int b) return a == b; } -void -atoimap_key_free(char *s) -{ - free(s); -} - -void -itoumap_key_free(int a) -{ - (void) a; -} - size_t atoimap_key_hash(char *s) { -- cgit v1.2.3