Dear Mike Frysinger, In message <[email protected]> you wrote: > > > +static void dummy(void) __attribute__((unused)); > > static void dummy(void) > > { > > } > > put the attribute before the "static" and you shouldnt need the duplicate > prototype
Ah, that's the trick that does it. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Use C++ to confuse your enemies; use C to produce stable code. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

