[Xastir-dev] extern void update_image()

Jerry Dunmire jerry at dunmire.org
Thu Jun 10 14:50:12 EDT 2010


new_image() is declared external at the top of main.c:

main.c:989 extern void new_image(Widget da);

but new_image() is defined in main.c and as far as I can tell, used
only in main.

Shouldn't the declaration be:

void new_image(Widget da);

or possibly:

static void new_image(Widget da);

Am I missing something?

...jerry



More information about the Xastir-dev mailing list