summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/images.h
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/images.h
parent9abe42371b44ef3e10e068d3e461c3a97192fb46 (diff)
downloadlinux-3b541978562a0f553b0c0253d927d55612dd97b1.tar.gz
linux-3b541978562a0f553b0c0253d927d55612dd97b1.tar.bz2
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/images.h')
-rw-r--r--scripts/kconfig/images.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/kconfig/images.h b/scripts/kconfig/images.h
new file mode 100644
index 000000000000..d8ff614bd087
--- /dev/null
+++ b/scripts/kconfig/images.h
@@ -0,0 +1,33 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
+ */
+
+#ifndef IMAGES_H
+#define IMAGES_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern const char *xpm_load[];
+extern const char *xpm_save[];
+extern const char *xpm_back[];
+extern const char *xpm_tree_view[];
+extern const char *xpm_single_view[];
+extern const char *xpm_split_view[];
+extern const char *xpm_symbol_no[];
+extern const char *xpm_symbol_mod[];
+extern const char *xpm_symbol_yes[];
+extern const char *xpm_choice_no[];
+extern const char *xpm_choice_yes[];
+extern const char *xpm_menu[];
+extern const char *xpm_menu_inv[];
+extern const char *xpm_menuback[];
+extern const char *xpm_void[];
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* IMAGES_H */