diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-04-07 21:46:00 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-04-07 21:46:00 +0000 |
commit | b577ecdf59f4e98f18a57e20f605c3f105187116 (patch) | |
tree | 55391b07156000142c590dc2ffb44dce504d0dc8 /newlib/libc/time/time.c | |
parent | 853f446a984e89a93e74e85a1a15b3cf5653be46 (diff) | |
download | cygnal-b577ecdf59f4e98f18a57e20f605c3f105187116.tar.gz cygnal-b577ecdf59f4e98f18a57e20f605c3f105187116.tar.bz2 cygnal-b577ecdf59f4e98f18a57e20f605c3f105187116.zip |
2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
anymore. Assume there is a gettimeofday syscall.
Diffstat (limited to 'newlib/libc/time/time.c')
-rw-r--r-- | newlib/libc/time/time.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/newlib/libc/time/time.c b/newlib/libc/time/time.c index 38cce50f9..1e086f403 100644 --- a/newlib/libc/time/time.c +++ b/newlib/libc/time/time.c @@ -1,5 +1,3 @@ -/* FIXME: doc says "not avail" due to #if 0. - DELETE that line if inappropriate! */ /* FUNCTION <<time>>---get current calendar time (as single number) @@ -32,8 +30,6 @@ Supporting OS subroutine required: Some implementations require <<gettimeofday>>. */ -#ifdef HAVE_GETTIMEOFDAY - /* Most times we have a system call in newlib/libc/sys/.. to do this job */ #include <_ansi.h> @@ -55,5 +51,3 @@ _DEFUN (time, (t), } return -1; } - -#endif |