From 56179a5aaa677d850bb54156984d8d13cbd9d87d Mon Sep 17 00:00:00 2001 From: James LewisMoss Date: Fri, 17 Aug 2001 16:57:57 +0000 Subject: [PATCH] minor formatting changes. add copyright. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5166 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/backend/file/io-gncxml-v2.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/backend/file/io-gncxml-v2.c b/src/backend/file/io-gncxml-v2.c index 483c712c02..39a42a9b36 100644 --- a/src/backend/file/io-gncxml-v2.c +++ b/src/backend/file/io-gncxml-v2.c @@ -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),