* lib/gettimeofday.c (rpl_gettimeofday): Remove declaration
authorJim Meyering <jim@meyering.net>
Wed, 21 Feb 2007 07:57:33 +0000 (07:57 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 21 Feb 2007 07:57:33 +0000 (07:57 +0000)
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
lib/gettimeofday.c

index f7aa738..19a7760 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-02-21  Jim Meyering  <jim@meyering.net>
+
+       * 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  <eggert@cs.ucla.edu>
 
        Minor fixups to port to Solaris 10 with Sun C 5.8.
index b6d6865..bd5576c 100644 (file)
@@ -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.  */