From d75995d30eac62892be585e461c4cd806ae3704d Mon Sep 17 00:00:00 2001 From: Lowie Deferme Date: Wed, 26 Feb 2025 20:27:44 +0100 Subject: [PATCH] fix: modern compilers complain about implicit int & return value --- tools/kconfig/lxdialog/check-lxdialog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kconfig/lxdialog/check-lxdialog.sh b/tools/kconfig/lxdialog/check-lxdialog.sh index e9daa6270..76418c898 100755 --- a/tools/kconfig/lxdialog/check-lxdialog.sh +++ b/tools/kconfig/lxdialog/check-lxdialog.sh @@ -63,7 +63,7 @@ trap "rm -f $tmp ${tmp%.tmp}.d" 0 1 2 3 15 check() { $cc -x c - -o $tmp 2>/dev/null <<'EOF' #include CURSES_LOC -main() {} +int main() {return 0;} EOF if [ $? != 0 ]; then echo " *** Unable to find the ncurses libraries or the" 1>&2