OSDN Git Service

Fix toybox build with C99 compilers
authorBernhard Rosenkr?nzer <bernhard.rosenkranzer@linaro.org>
Wed, 25 Mar 2015 18:46:34 +0000 (13:46 -0500)
committerBernhard Rosenkr?nzer <bernhard.rosenkranzer@linaro.org>
Wed, 25 Mar 2015 18:46:34 +0000 (13:46 -0500)
commit76f148583ab6eb709bd930aeec6855663619a68b
tree4be4c427b76d63c002be9a1e03082322cb2d21c4
parentd6d4ad0663dc91a448139d9bac4fecab43a41b30
Fix toybox build with C99 compilers

toybox "make menuconfig" currently fails to build if the compiler is in C99
mode (clang 3.6 and gcc 5.0 snapshots default to C99 mode, you can also
reproduce the failure with older gcc by using 'make menuconfig HOSTCC="gcc
-std=gnu99"').

The problem is that inline semantics changed in C99, and kconf_id_lookup's
inline-ness depends on C89 semantics there.
kconfig/zconf.hash.c_shipped