aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/gconf.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-21 17:33:07 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-28 22:22:39 +0900
commit3b541978562a0f553b0c0253d927d55612dd97b1 (patch)
tree193d45c781713724794a98091d4d3bfd6a5d3d26 /scripts/kconfig/gconf.c
parentkconfig: add static qualifiers to fix gconf warnings (diff)
downloadlinux-dev-3b541978562a0f553b0c0253d927d55612dd97b1.tar.xz
linux-dev-3b541978562a0f553b0c0253d927d55612dd97b1.zip
kconfig: split images.c out of qconf.cc/gconf.c to fix gconf warnings
Currently, images.c is included by qconf.cc and gconf.c. qconf.cc uses all of xpm_* arrays, but gconf.c only some of them. Hence, lots of "... defined but not used" warnings are displayed while compiling gconf.c Splitting out images.c fixes the warnings. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kconfig/gconf.c')
-rw-r--r--scripts/kconfig/gconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 2d4e5a1e3a30..b3d438c531fc 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -9,7 +9,7 @@
#include <stdlib.h>
#include "lkc.h"
-#include "images.c"
+#include "images.h"
#include <glade/glade.h>
#include <gtk/gtk.h>