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;