From dff73d331c91793b6c616f8ba80244175e54c5b6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 21 Feb 2007 07:57:33 +0000 Subject: [PATCH] * lib/gettimeofday.c (rpl_gettimeofday): Remove declaration of gettimeofday. It would conflict with the one now always provided via sys_time_.h. Reported by Matthew Woehlke, as an IRIX 6.5 build failure. --- ChangeLog | 7 +++++++ lib/gettimeofday.c | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7aa7381e..19a776001 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-02-21 Jim Meyering + + * lib/gettimeofday.c (rpl_gettimeofday): Remove declaration + of gettimeofday. It would conflict with the one now always + provided via sys_time_.h. Reported by Matthew Woehlke, as + an IRIX 6.5 build failure. + 2007-02-20 Paul Eggert Minor fixups to port to Solaris 10 with Sun C 5.8. diff --git a/lib/gettimeofday.c b/lib/gettimeofday.c index b6d68657e..bd5576cb0 100644 --- a/lib/gettimeofday.c +++ b/lib/gettimeofday.c @@ -102,8 +102,6 @@ rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz) { #undef gettimeofday #if HAVE_GETTIMEOFDAY - extern int gettimeofday (/* unspecified arguments */); - # if GETTIMEOFDAY_CLOBBERS_LOCALTIME /* Save and restore the contents of the buffer used for localtime's result around the call to gettimeofday. */ -- 2.11.0