Revision 19b835a5db93254a46cb90c95ddde6959d7e1e06 authored by Masahiro Yamada on 08 September 2020, 22:16:38 UTC, committed by Masahiro Yamada on 20 September 2020, 03:58:49 UTC
"make HOSTCXX=clang++ xconfig" reports the following:

  HOSTCXX scripts/kconfig/qconf.o
In file included from scripts/kconfig/qconf.cc:23:
In file included from scripts/kconfig/lkc.h:15:
scripts/kconfig/lkc_proto.h:26:13: warning: 'get_relations_str' has C-linkage specified, but returns incomplete type 'struct gstr' which could be incompatible with C [-Wreturn-type-c-linkage]
struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head);
            ^

Currently, get_relations_str() is declared before the struct gstr
definition.

Move all declarations of menu.c functions below.

BTW, some are declared in lkc.h and some in lkc_proto.h, but the
difference is unclear. I guess some refactoring is needed.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Boris Kolpackov <boris@codesynthesis.com>
1 parent a608b6a
History
File Mode Size
boot
configs
crypto
include
kernel
kvm
lib
mm
net
xen
Kbuild -rw-r--r-- 173 bytes
Kconfig -rw-r--r-- 62.8 KB
Kconfig.debug -rw-r--r-- 739 bytes
Kconfig.platforms -rw-r--r-- 7.5 KB
Makefile -rw-r--r-- 6.6 KB

back to top