From: Jim Meyering Date: Sat, 18 Jan 1997 20:06:50 +0000 (+0000) Subject: Include getdate.h. X-Git-Tag: TEXTUTILS-1_21a~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6cb5a99aa721ba507023be1b7b1dd2f27b9d18aa;p=thirdparty%2Fcoreutils.git Include getdate.h. (, ): Don't include -- now getdate.h does it. --- diff --git a/src/date.c b/src/date.c index b15f77c249..b336542f7b 100644 --- a/src/date.c +++ b/src/date.c @@ -1,5 +1,6 @@ /* date - print or set the system date and time - Copyright (C) 89, 90, 91, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. + Copyright (C) 89, 90, 91, 92, 93, 94, 95, 96, 1997 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,12 +26,7 @@ #include "system.h" #include "getline.h" #include "error.h" - -#ifdef TM_IN_SYS_TIME -#include -#else -#include -#endif +#include "getdate.h" #ifndef STDC_HEADERS size_t strftime (); @@ -41,7 +37,6 @@ int putenv (); int stime (); char *xrealloc (); -time_t get_date (); time_t posixtime (); static void show_date __P ((const char *format, time_t when));