projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b54197
)
kconfig: surround dbg_sym_flags with #ifdef DEBUG to fix gconf warning
author
Masahiro Yamada
<
[email protected]
>
Fri, 21 Dec 2018 08:33:08 +0000
(17:33 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Fri, 28 Dec 2018 13:22:39 +0000
(22:22 +0900)
Fix the following warning:
no previous prototype for ‘dbg_sym_flags’ [-Wmissing-prototypes]
Signed-off-by: Masahiro Yamada <
[email protected]
>
scripts/kconfig/gconf.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/gconf.c
b/scripts/kconfig/gconf.c
index b3d438c531fce8c2a7c3ade834dabc5da2132126..5d4ecf309ee40188ba85652a1008be3abc206e0f 100644
(file)
--- a/
scripts/kconfig/gconf.c
+++ b/
scripts/kconfig/gconf.c
@@
-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)