From 73837e5670aa7cb6c5cf202d833045fcd6a84b7e Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sun, 3 Dec 2000 07:50:29 +0000 Subject: [PATCH] Cleanup. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3230 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/AccountP.h | 9 +++++---- src/engine/Backend.c | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/AccountP.h b/src/engine/AccountP.h index c7c8c6cc21..8d836401bc 100644 --- a/src/engine/AccountP.h +++ b/src/engine/AccountP.h @@ -44,11 +44,12 @@ #include "config.h" -#include "gnc-numeric.h" -#include "gnc-commodity.h" -#include "kvp_frame.h" +#include "Account.h" #include "GNCId.h" #include "Transaction.h" +#include "gnc-commodity.h" +#include "gnc-numeric.h" +#include "kvp_frame.h" /** STRUCTS *********************************************************/ @@ -88,7 +89,7 @@ struct _account { * intended use is to be a hint to the GUI as to how to display * and format the transaction data. */ - short type; + GNCAccountType type; /* The currency field denotes the default currency in which all * splits in this account are denominated. The gnc_commodity type diff --git a/src/engine/Backend.c b/src/engine/Backend.c index 8840ca8290..14f6bdb34e 100644 --- a/src/engine/Backend.c +++ b/src/engine/Backend.c @@ -64,7 +64,6 @@ xaccAccountGetBackend (Account * acc) Backend * xaccTransactionGetBackend (Transaction *trans) { - GList *node; Split *s; if (!trans) return NULL;