On Wednesday 28 October 2009, Øyvind Harboe wrote: > > And forward declarations should only really be used > > when they're unavoidable ... they clutter the code. > > It's a shame that C couldn't get rid of the requirement to > declare fn's before they are used...
You don't have to declare them if you define them first. :) And all the function typing stuff is relatively new; it was brought into the language from early versions of C++, in order to get rid of the bugs that came from untyped functions. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development