Skip to content

Commit 3a67b5d

Browse files
luk1337npjohnson
authored andcommitted
kconfig/lxdialog: Make main() return 0
Fixes build with newer host toolchain. Change-Id: I5c69bcdf6422d86b852e29768ba6dfbe0e9c2a76
1 parent 4c9b523 commit 3a67b5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/kconfig/lxdialog/check-lxdialog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ trap "rm -f $tmp" 0 1 2 3 15
4747
check() {
4848
$cc -x c - -o $tmp 2>/dev/null <<'EOF'
4949
#include CURSES_LOC
50-
main() {}
50+
int main() { return 0; }
5151
EOF
5252
if [ $? != 0 ]; then
5353
echo " *** Unable to find the ncurses libraries or the" 1>&2

0 commit comments

Comments
 (0)