diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-01-02 00:06:15 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-01-02 00:06:15 +0100 |
commit | 6337f29dd5310fd3c471ee1261077e755c3c2c39 (patch) | |
tree | f78160e3ee129b1f109a5ae02ce9ed730428d65a /examples/gehashmap.c | |
parent | 9325ee9ae425d79c3c8d35fd706cdde03c0555c2 (diff) |
Add sets
Diffstat (limited to 'examples/gehashmap.c')
-rw-r--r-- | examples/gehashmap.c | 14 |
1 files changed, 2 insertions, 12 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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) { |