On Fri, 13 Nov 2009 13:09:55 -0700 (MST) Jonathan Gray <[email protected]> wrote:
> CVSROOT: /cvs > Module name: src > Changes by: [email protected] 2009/11/13 13:09:55 > > Modified files: > sbin/ipsecctl : pfkdump.c > usr.sbin/relayctl: parser.c parser.h > usr.sbin/dvmrpctl: parser.c parser.h > usr.sbin/ospfctl: parser.c parser.h > usr.sbin/ripctl: parser.c parser.h > > Log message: > Don't use [] in function arguments when dealing with arrays > we don't know the size of, otherwise gcc >= 4 will error. > Sorry for intruding, but this sounds a bit strange. In a function argument list T *, T [], and T [N] are the same, so what's gcc doing? I don't see gcc 4.3.3 complaining ...
