On 08/29/16 at 05:14P, Bruce Evans wrote: > On Sun, 28 Aug 2016, hiren panchasara wrote: > > > On 08/27/16 at 11:06P, Bruce Evans wrote: > >> > >> Log: > >> Fix build without INET6 and with gcc. A function definition was ifdefed > >> for INET6, but its protototype was not, and gcc detects the error. > >> > >> Modified: > >> head/usr.bin/netstat/route.c > > > > Thanks for the fix. > > > > Wouldn't stable/11 be broken in the same way? > > Probably. > > This only affects gcc users who omit INET6, and much more is broken for > stable/11 for gcc.
Broken as in couldn't build? I don't think so. gcc + no-v6 seems like a special case but I think this should be fixed in 11. If you don't want to, I'll MFC the change myself. :-) Cheers, Hiren
pgpoGkk3owyqt.pgp
Description: PGP signature