Nelson H. F. Beebe wrote:
> Builds of grep-2.6 with native (non-gcc) compilers fail on several
> systems because of source code errors:
>
> CC grep.o
> "grep.c", line 10: void function cannot return value
> "grep.c", line 16: void function cannot return value
> "grep.c", line 22: void function cannot return value
> cc: acomp failed for grep.c
Thanks.
I fixed that for 2.6.1:
build: avoid warnings about unnecessary use of "return"
http://git.sv.gnu.org/cgit/grep.git/commit/?id=a0e3040fd8052816356577