In Bug 208, bernhardf writes:

On machines with only ANSI compliant compilers, not explitily delcaring
an empty parameter list 'void' causes failure.
This commit is contained in:
Mike Frysinger
2005-04-16 04:30:38 +00:00
parent 5c63a72968
commit 4e5936ef95
6 changed files with 18 additions and 18 deletions

View File

@ -238,7 +238,7 @@ __u32 get_addr32(char *name)
return addr.data[0];
}
void incomplete_command()
void incomplete_command(void)
{
bb_error_msg("Command line is not complete. Try option \"help\"");
exit(-1);