summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/textual.cc b/textual.cc
index 2e7ef86f..2e8b0fd0 100644
--- a/textual.cc
+++ b/textual.cc
@@ -1,4 +1,3 @@
-#include "textual.h"
#include "datetime.h"
#include "autoxact.h"
#include "valexpr.h"
@@ -287,8 +286,8 @@ entry_t * parse_entry(std::istream& in, account_t * master)
return curr;
}
-unsigned int parse_textual_ledger(std::istream& in, ledger_t * journal,
- account_t * master)
+unsigned int parse_textual_journal(std::istream& in, journal_t * journal,
+ account_t * master)
{
static char line[MAX_LINE + 1];
char c;
@@ -518,8 +517,8 @@ unsigned int parse_textual_ledger(std::istream& in, ledger_t * journal,
unsigned int curr_linenum = linenum;
std::string curr_path = path;
- count += parse_textual_ledger(stream, journal,
- account_stack.front());
+ count += parse_textual_journal(stream, journal,
+ account_stack.front());
linenum = curr_linenum;
path = curr_path;