diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-11-08 16:26:29 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-11-09 12:18:59 +0000 |
commit | 80d7f0b7c1b2816cc0e85661ea540df7df6d45ac (patch) | |
tree | 4629fb117fc527578dd73edf7e064669a8acb89c | |
parent | a0171db3f2eae0ac3c7231598fb2167807c9474f (diff) | |
download | efl-80d7f0b7c1b2816cc0e85661ea540df7df6d45ac.tar.gz |
efreet menu - only build internal cmp func if used in ifdefs
-rw-r--r-- | src/lib/efreet/efreet_menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c index f3160b8b97..ee98808695 100644 --- a/src/lib/efreet/efreet_menu.c +++ b/src/lib/efreet/efreet_menu.c @@ -187,7 +187,9 @@ static int efreet_menu_cb_md_compare_ids(Efreet_Menu_Desktop *md, const char *na static int efreet_menu_cb_entry_compare_menu(Efreet_Menu *entry, Efreet_Menu_Internal *internal); static int efreet_menu_cb_entry_compare_desktop(Efreet_Menu *entry, Efreet_Desktop *desktop); +#ifndef STRICT_SPEC static int efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old); +#endif static int efreet_menu_process(Efreet_Menu_Internal *internal, unsigned int only_unallocated); static int efreet_menu_process_dirs(Efreet_Menu_Internal *internal); @@ -3741,6 +3743,7 @@ efreet_menu_cb_entry_compare_desktop(Efreet_Menu *entry, Efreet_Desktop *desktop return strcmp(entry->name, desktop->name); } +#ifndef STRICT_SPEC static int efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old) { @@ -3748,6 +3751,7 @@ efreet_menu_cb_move_compare(Efreet_Menu_Move *move, const char *old) if (move->old_name == old) return 0; return 1; } +#endif static int efreet_menu_layout_is_empty(Efreet_Menu *entry) |