diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-21 09:33:07 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-28 14:22:39 +0100 |
commit | 3b541978562a0f553b0c0253d927d55612dd97b1 (patch) | |
tree | 193d45c781713724794a98091d4d3bfd6a5d3d26 /scripts/kconfig/gconf.c | |
parent | kconfig: add static qualifiers to fix gconf warnings (diff) | |
download | linux-3b541978562a0f553b0c0253d927d55612dd97b1.tar.xz linux-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.c | 2 |
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> |