mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
some arguments should be const
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@514 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5c2a5e2c10
commit
cbfd145555
@ -248,7 +248,7 @@ xaccGetPeerAccountFromID ( Account *acc, int acc_id )
|
||||
\********************************************************************/
|
||||
|
||||
Account *
|
||||
xaccGetAccountFromName ( AccountGroup *root, char * name )
|
||||
xaccGetAccountFromName ( AccountGroup *root, const char * name )
|
||||
{
|
||||
Account *acc;
|
||||
int i;
|
||||
@ -277,7 +277,7 @@ xaccGetAccountFromName ( AccountGroup *root, char * name )
|
||||
\********************************************************************/
|
||||
|
||||
Account *
|
||||
xaccGetPeerAccountFromName ( Account *acc, char * name )
|
||||
xaccGetPeerAccountFromName ( Account *acc, const char * name )
|
||||
{
|
||||
AccountGroup * root;
|
||||
Account *peer_acc;
|
||||
|
Loading…
Reference in New Issue
Block a user