* 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 f7aa7381e0c1e5b15f906704a9ecc431b44d4a9a..19a776001da7f9f2700406eaf546792ec5bd5f8e 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 b6d68657e680d2275d9e7d290aede91ac06f6d69..bd5576cb0993823f92f96a8f05b876cd78d6e771 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.  */