Mark a couple of functions as static.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/remove-group@14704 57a11ea4-9604-0410-9ed3-97b8803252fd
archive
David Hampton 20 years ago committed by John Ralls
parent 04ecf9ba75
commit 97f61cbea9

@ -152,14 +152,14 @@ xaccInitAccount (Account * acc, QofBook *book)
/********************************************************************\
\********************************************************************/
Account *
static Account *
gnc_coll_get_root_account (QofCollection *col)
{
if (!col) return NULL;
return qof_collection_get_data (col);
}
void
static void
gnc_coll_set_root_account (QofCollection *col, Account *root)
{
Account *old_root;

@ -212,8 +212,6 @@ const gchar *gnc_get_account_separator_string (void);
gunichar gnc_get_account_separator (void);
void gnc_set_account_separator (const gchar *separator);
Account *gnc_coll_get_root_account(QofCollection *col);
void gnc_coll_set_root_account(QofCollection *col, Account *root);
Account *gnc_book_get_root_account(QofBook *book);
void gnc_book_set_root_account(QofBook *book, Account *root);

@ -49,7 +49,6 @@ void gnc_collection_set_schedxactions( QofCollection *col, GList *newList );
/* Associate the given template root account with a book */
void gnc_book_set_template_root (QofBook *book, Account *templateRoot);
void gnc_collection_set_template_root (QofCollection *col, Account *templateRoot);

@ -52,7 +52,7 @@ static QofLogModule log_module = GNC_MOD_SX;
/* ====================================================================== */
Account *
static Account *
gnc_collection_get_template_root( const QofCollection *col )
{
return qof_collection_get_data (col);
@ -67,7 +67,7 @@ gnc_book_get_template_root( QofBook *book )
return gnc_collection_get_template_root (col);
}
void
static void
gnc_collection_set_template_root (QofCollection *col,
Account *templateRoot)
{

@ -49,7 +49,6 @@ GList * gnc_book_get_schedxactions(QofBook *book);
/** Returns the template group from the book. **/
Account *gnc_book_get_template_root(QofBook *book);
Account *gnc_collection_get_template_root(const QofCollection *col);
/** @return The list of SXes which reference the given Account. Caller should free this list. **/
GList* gnc_sx_get_sxes_referencing_account(QofBook *book, Account *acct);

Loading…
Cancel
Save