changeset 8215:c3429d032540

* 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.
author Jim Meyering <jim@meyering.net>
date Wed, 21 Feb 2007 07:57:33 +0000
parents 822e9380142e
children a45de5ccf3a6
files ChangeLog lib/gettimeofday.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/gettimeofday.c
+++ b/lib/gettimeofday.c
@@ -102,8 +102,6 @@
 {
 #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.  */