diff options
| author | Franklin Wei <git@fwei.tk> | 2016-01-15 17:25:16 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-01-15 17:25:16 -0500 |
| commit | b8a5c11cbd8a0514754558892d9bbd620345799c (patch) | |
| tree | 5687d0e98212c7067c5049bd3914045595c75d21 /src/hash.c | |
| parent | abe9f416501c5354be3ce292b4220000edf021ab (diff) | |
| download | netcosm-b8a5c11cbd8a0514754558892d9bbd620345799c.zip netcosm-b8a5c11cbd8a0514754558892d9bbd620345799c.tar.gz netcosm-b8a5c11cbd8a0514754558892d9bbd620345799c.tar.bz2 netcosm-b8a5c11cbd8a0514754558892d9bbd620345799c.tar.xz | |
refactor headers
Diffstat (limited to 'src/hash.c')
| -rw-r--r-- | src/hash.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -16,7 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "netcosm.h" +#include "hash.h" #include <stdlib.h> #include <string.h> @@ -83,7 +83,6 @@ void hash_setfreedata_cb(void *ptr, void (*cb)(void *data)) void hash_free(void *ptr) { - sig_debugf("freeing map\n"); if(ptr) { struct hash_map *map = ptr; @@ -95,10 +94,7 @@ void hash_free(void *ptr) struct hash_node *next = node->next; if(map->free_data) - { - debugf("freeing data\n"); map->free_data((void*)node->data); - } if(map->free_key) map->free_key((void*)node->key); free(node); |