[PATCH] fix 'auto' declaration in findutils/find.c (only for warning messages)

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 20 13:44:04 UTC 2008


On Wednesday 05 March 2008 17:57, Joe Krahn wrote:
> In findutils/find.c, the 'static' keyword was dropped, for GCC 4.x compatibility. The right keyword
> is 'auto', which I have added here. On my 3.0 and 4.2.0 compilers, I still get a no-prototype
> warning even with the 'auto' keyword, so I also inserted a prototype just before the actual
> function. It looks a bit silly, but it seems to be what gcc wants. Here's a diff:


Applied, thanks!
--
vda



More information about the busybox mailing list