summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-04 23:53:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-04 23:53:43 -0400
commitc11d32571246e51f401deee88f4ebd752b467fdc (patch)
treeccfe6c759d1f2f46a501495eeedecc8c679865d7 /src/utils.h
parent9a47298d811496816903515bdba7652e275cc32a (diff)
downloadfork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.gz
fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.tar.bz2
fork-ledger-c11d32571246e51f401deee88f4ebd752b467fdc.zip
Reduced the #include dependency tree to a minimum
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/utils.h b/src/utils.h
index 323d82b4..667cd6e8 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -464,10 +464,6 @@ void finish_timer(const char * name);
*/
#include "error.h"
-#include "times.h"
-#include "flags.h"
-#include "stream.h" // output_stream_t
-#include "pstream.h" // pstristream
enum caught_signal_t {
NONE_CAUGHT,
@@ -600,6 +596,8 @@ inline char peek_next_nonws(std::istream& in) {
*_p = '\0'; \
}
+extern const string version;
+
} // namespace ledger
/*@}*/