minor formatting changes. add copyright.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5166 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
James LewisMoss 2001-08-17 16:57:57 +00:00
parent 94950a4933
commit 56179a5aaa

View File

@ -1,4 +1,6 @@
/********************************************************************\
* Copyright (C) 2000,2001 Gnumatic Inc. *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of *
@ -516,14 +518,16 @@ write_counts(FILE* out, ...)
}
static gint
compare_namespaces(gconstpointer a, gconstpointer b) {
compare_namespaces(gconstpointer a, gconstpointer b)
{
const gchar *sa = (const gchar *) a;
const gchar *sb = (const gchar *) b;
return(safe_strcmp(sa, sb));
}
static gint
compare_commodity_ids(gconstpointer a, gconstpointer b) {
compare_commodity_ids(gconstpointer a, gconstpointer b)
{
const gnc_commodity *ca = (const gnc_commodity *) a;
const gnc_commodity *cb = (const gnc_commodity *) b;
return(safe_strcmp(gnc_commodity_get_mnemonic(ca),