diff options
author | Jim Meyering <jim@meyering.net> | 1995-01-27 05:36:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-01-27 05:36:14 +0000 |
commit | 66444bdafb3fad56f9b8c8cb888468c6e7a89683 (patch) | |
tree | 978c0955563ce98b8aa1eaf6e1652d1942fa6292 /lib | |
parent | b554fee4014e41b73937931d95d6174de4cc5c01 (diff) | |
download | coreutils-66444bdafb3fad56f9b8c8cb888468c6e7a89683.tar.xz |
Remove/rewrite some comments.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getdate.y | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index 8f0872d72..78d3a75da 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -30,20 +30,11 @@ #include <stdio.h> #include <ctype.h> -/* The code at the top of get_date which figures out the offset of the - current time zone checks various CPP symbols to see if special - tricks are need, but defaults to using the gettimeofday system call. - Include <sys/time.h> if that will be used. */ - #if defined (vms) - #include <types.h> #include <time.h> - #else - #include <sys/types.h> - #ifdef TIME_WITH_SYS_TIME #include <sys/time.h> #include <time.h> @@ -62,12 +53,12 @@ #if defined (HAVE_SYS_TIMEB_H) #include <sys/timeb.h> #else -/* -** We use the obsolete `struct timeb' as part of our interface! -** Since the system doesn't have it, we define it here; -** our callers must do likewise. -*/ -struct timeb { + +/* get_date uses the obsolete `struct timeb' in its interface! FIXME. + Since some systems don't have it, we define it here; + callers must do likewise. */ +struct timeb + { time_t time; /* Seconds since the epoch */ unsigned short millitm; /* Field not used */ short timezone; /* Minutes west of GMT */ |