From 05b3562a13ffccaa56729ecfd1992d615c7867a7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 24 Jan 2009 04:50:39 -0400 Subject: Changed order of some functions, to guard against self-referencing. --- src/times.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/times.h') diff --git a/src/times.h b/src/times.h index 20cca0e5..494a1489 100644 --- a/src/times.h +++ b/src/times.h @@ -57,15 +57,17 @@ extern int current_year; extern optional input_date_format; extern string output_date_format; +datetime_t parse_datetime(const char * str); + inline datetime_t parse_datetime(const string& str) { return parse_datetime(str.c_str()); } -datetime_t parse_datetime(const char * str); + +date_t parse_date(const char * str); inline date_t parse_date(const string& str) { return parse_date(str.c_str()); } -date_t parse_date(const char * str); inline std::time_t to_time_t(const ptime& t) { -- cgit v1.2.3