vendor/libgit2/src/strmap.h in rugged-0.26.0b5 vs vendor/libgit2/src/strmap.h in rugged-0.26.0
- old
+ new
@@ -19,12 +19,10 @@
__KHASH_TYPE(str, const char *, void *)
typedef khash_t(str) git_strmap;
typedef khiter_t git_strmap_iter;
int git_strmap_alloc(git_strmap **map);
-
-#define git_strmap_free(h) git_strmap__free(h); (h) = NULL
-void git_strmap__free(git_strmap *map);
+void git_strmap_free(git_strmap *map);
void git_strmap_clear(git_strmap *map);
size_t git_strmap_num_entries(git_strmap *map);
size_t git_strmap_lookup_index(git_strmap *map, const char *key);