MSVC compatibility: Remove forward declaration of static array by reordering the function that uses it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18749 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-02-27 18:39:39 +00:00
parent f101adee5c
commit 1973bc3e27

View File

@ -127,14 +127,9 @@ fspd_init( fsParseData *fspd )
g_date_clear( &fspd->once_day, 1 ); g_date_clear( &fspd->once_day, 1 );
} }
static struct dom_tree_handler fs_dom_handlers[];
static static
gboolean gboolean
gnc_fs_handler( xmlNodePtr node, gpointer d ) gnc_fs_handler( xmlNodePtr node, gpointer d );
{
return dom_tree_generic_parse( node, fs_dom_handlers, d );
}
static static
gboolean gboolean
@ -447,6 +442,13 @@ static struct dom_tree_handler fs_dom_handlers[] =
{ NULL, NULL, 0, 0 } { NULL, NULL, 0, 0 }
}; };
static
gboolean
gnc_fs_handler( xmlNodePtr node, gpointer d )
{
return dom_tree_generic_parse( node, fs_dom_handlers, d );
}
static static
gboolean gboolean
gnc_freqSpec_end_handler(gpointer data_for_children, gnc_freqSpec_end_handler(gpointer data_for_children,