diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-18 20:06:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-18 20:06:50 +0000 |
commit | 6cb5a99aa721ba507023be1b7b1dd2f27b9d18aa (patch) | |
tree | b18926d000945b5c4994e86ee42fa6e4f2c90305 /src | |
parent | f696bb6737dc5f58d43e0fdccfbe9c705d561617 (diff) | |
download | coreutils-6cb5a99aa721ba507023be1b7b1dd2f27b9d18aa.tar.xz |
Include getdate.h.
(<time.h>, <sys/time.h>): Don't include -- now getdate.h does it.
Diffstat (limited to 'src')
-rw-r--r-- | src/date.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/date.c b/src/date.c index b15f77c24..b336542f7 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 <sys/time.h> -#else -#include <time.h> -#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)); |