kconfig: surround dbg_sym_flags with #ifdef DEBUG to fix gconf warning

Fix the following warning:

  no previous prototype for ‘dbg_sym_flags’ [-Wmissing-prototypes]

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2018-12-21 17:33:08 +09:00
parent 3b54197856
commit f222b7f436
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static gchar **fill_row(struct menu *menu);
static void conf_changed(void);
/* Helping/Debugging Functions */
#ifdef DEBUG
static const char *dbg_sym_flags(int val)
{
static char buf[256];
@ -105,6 +105,7 @@ static const char *dbg_sym_flags(int val)
return buf;
}
#endif
static void replace_button_icon(GladeXML *xml, GdkDrawable *window,
GtkStyle *style, gchar *btn_name, gchar **xpm)