Minor fixes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2330 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-05-15 07:31:54 +00:00
parent 144d1691d2
commit 6e8d999ca1
3 changed files with 8 additions and 7 deletions

View File

@ -194,11 +194,12 @@ xaccSessionBeginSQL (Session *sess, const char * dbname)
if (!sess) return NULL;
{
/* for testing the sql, just a hack, remove later ... */
Backend * pgendNew (void);
be = pgendNew ();
}
#ifdef SQLHACK
/* for testing the sql, just a hack, remove later ... */
Backend * pgendNew (void);
be = pgendNew ();
#endif
sess->backend = be;
if (be && be->session_begin) {

View File

@ -431,7 +431,7 @@ decode_md5_string(const char *string, unsigned char *data)
return GUID_TRUE;
}
const char *
char *
guid_to_string(const GUID * guid)
{
char *string = malloc(GUID_ENCODING_LENGTH+1);

View File

@ -73,7 +73,7 @@ void guid_new(GUID *guid);
* always be 32 characters long. The returned string should be
* freed when no longer needed.
*/
const char * guid_to_string(const GUID * guid);
char * guid_to_string(const GUID * guid);
/* Given a string, decode the id into the guid if guid is non-NULL.