On Mon, 2009-09-28 at 18:04 +0100, Neil Puttock wrote:
> 2009/9/27 Ian Hulin <i...@hulin.org.uk>:
> > Declared in context_property.cc only are:
> > general_pushpop_property (which calls sloppy_general_pushpop_property)
> > execute_override_property
> 
> This looks like an oversight, since they should also be prototyped (of
> course g++ doesn't complain here, but according to my C++ reference,
> function prototypes are compulsory).

In C++, a function must be either prototyped or defined before being
used. In this case, it's defined before being used, so that's ok. Since
it seems to be used only within the file, though, it should probably be
marked "static."

Joe




_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to