summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_module.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 15:13:01 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:44:00 +0000
commit003323f244eccf6dd52b6e4be99ff258d61e580b (patch)
tree3f86e0a948e950f47ae7620a21c1fb2716ed9b53 /src/lib/edje/edje_module.c
parent0bf371856cee8e5b028af672931561ad21ca377c (diff)
edje modules - warn - use proper hash free func prototype
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_module.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/edje/edje_module.c b/src/lib/edje/edje_module.c
index eb2d6c97ee..217c1b138e 100644
--- a/src/lib/edje/edje_module.c
+++ b/src/lib/edje/edje_module.c
@@ -76,6 +76,12 @@ _edje_module_handle_load(const char *module)
76 return NULL; 76 return NULL;
77} 77}
78 78
79static void
80module_free(void *mod)
81{
82 eina_module_free(mod);
83}
84
79void 85void
80_edje_module_init(void) 86_edje_module_init(void)
81{ 87{
@@ -83,7 +89,7 @@ _edje_module_init(void)
83 unsigned int i; 89 unsigned int i;
84 unsigned int j; 90 unsigned int j;
85 91
86 _registered_modules = eina_hash_string_small_new(EINA_FREE_CB(eina_module_free)); 92 _registered_modules = eina_hash_string_small_new(module_free);
87 93
88#ifdef NEED_RUN_IN_TREE 94#ifdef NEED_RUN_IN_TREE
89#if defined(HAVE_GETUID) && defined(HAVE_GETEUID) 95#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)