This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to fix make dvi in libiberty
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Mar 2005 16:16:01 +0000 (UTC)
- Subject: Patch to fix make dvi in libiberty
"make dvi" was broken by the addition of gettimeofday to libiberty. Fixed
thus. Tested with "make dvi". Applied to mainline.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/ChangeLog,v
retrieving revision 1.559
diff -u -r1.559 ChangeLog
--- ChangeLog 29 Mar 2005 02:08:35 -0000 1.559
+++ ChangeLog 31 Mar 2005 16:13:50 -0000
@@ -1,3 +1,8 @@
+2005-03-31 Joseph S. Myers <joseph@codesourcery.com>
+
+ * gettimeofday.c: Add "Supplemental" to @deftypefn.
+ * functions.texi: Regenerate.
+
2005-03-28 Ian Lance Taylor <ian@airs.com>
* pex-common.c: New file.
Index: gettimeofday.c
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/gettimeofday.c,v
retrieving revision 1.2
diff -u -r1.2 gettimeofday.c
--- gettimeofday.c 27 Mar 2005 15:31:12 -0000 1.2
+++ gettimeofday.c 31 Mar 2005 16:13:50 -0000
@@ -9,7 +9,7 @@
/*
-@deftypefn int gettimeofday (struct timeval *@var{tp}, void *@var{tz})
+@deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz})
Writes the current time to @var{tp}. This implementation requires
that @var{tz} be NULL. Returns 0 on success, -1 on failure.
Index: functions.texi
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/functions.texi,v
retrieving revision 1.19
diff -u -r1.19 functions.texi
--- functions.texi 29 Mar 2005 02:08:42 -0000 1.19
+++ functions.texi 31 Mar 2005 16:13:50 -0000
@@ -473,7 +473,7 @@
@end deftypefn
@c gettimeofday.c:12
-@deftypefn int gettimeofday (struct timeval *@var{tp}, void *@var{tz})
+@deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz})
Writes the current time to @var{tp}. This implementation requires
that @var{tz} be NULL. Returns 0 on success, -1 on failure.