mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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:
parent
3b54197856
commit
f222b7f436
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user