From 9039e728b2015b54dc87da52f450c27683303392 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 23 Apr 2007 21:22:24 +0000 Subject: All system headers (except Boost) now included through system.hh; also, added support for pre-compiled headers since I'm now using a centralized resource for system headers. --- main.cc | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) (limited to 'main.cc') diff --git a/main.cc b/main.cc index 10f6e15f..188b21d9 100644 --- a/main.cc +++ b/main.cc @@ -1,31 +1,9 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "option.h" -#include "timing.h" -#include "acconf.h" - -#ifdef HAVE_UNIX_PIPES -#include -#include -#include -#include "fdstream.hpp" -#endif - -#ifdef USE_BOOST_PYTHON -#include "pyledger.h" +#if defined(USE_BOOST_PYTHON) +#include #else -#include "ledger.h" +#include #endif -#include "debug.h" +#include using namespace ledger; @@ -38,7 +16,7 @@ class print_addr : public repitem_t::select_callback_t { #endif static int read_and_report(report_t * report, int argc, char * argv[], - char * envp[]) + char * envp[]) { session_t& session(*report->session); @@ -398,7 +376,7 @@ static int read_and_report(report_t * report, int argc, char * argv[], #ifdef DEBUG_ENABLED extern int new_calls; -extern long long new_size; +extern unsigned long new_size; #endif int main(int argc, char * argv[], char * envp[]) -- cgit v1.2.3