summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-23 21:37:39 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-23 21:37:39 -0400
commit84259bde51808840748b11a12ba370addb77ccbb (patch)
treedb9aeaa0ddd26abf2c473e6491eb04feb1586d25 /main.cc
parentc57bfb72c3fd0c40bab1c47503c7f22c6a79a643 (diff)
downloadfork-ledger-84259bde51808840748b11a12ba370addb77ccbb.tar.gz
fork-ledger-84259bde51808840748b11a12ba370addb77ccbb.tar.bz2
fork-ledger-84259bde51808840748b11a12ba370addb77ccbb.zip
changed ledger.h to journal.h; moved adding of autoxact hook
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.cc b/main.cc
index e0f6c883..a6ecaa51 100644
--- a/main.cc
+++ b/main.cc
@@ -1,7 +1,6 @@
-#include "ledger.h"
+#include "journal.h"
#include "parser.h"
#include "textual.h"
-#include "autoxact.h"
#include "binary.h"
#include "qif.h"
#include "acconf.h"
@@ -164,8 +163,6 @@ int parse_and_report(int argc, char * argv[], char * envp[])
{
std::auto_ptr<journal_t> journal(new journal_t);
- add_hook(journal->entry_finalize_hooks, handle_auto_xacts);
-
// Parse command-line arguments, and those set in the environment
TIMER_START(process_opts);