This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to gcc.c (fatal): Make definition static to match prototype.
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Patch to gcc.c (fatal): Make definition static to match prototype.
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 27 Aug 1999 09:52:15 -0400 (EDT)
I checked in this patch which fixes a bootstrap error in
stage1 on SunOS4 when using cc.
--Kaveh
Index: ChangeLog
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/ChangeLog,v
retrieving revision 1.4197
diff -u -p -r1.4197 ChangeLog
--- ChangeLog 1999/08/27 09:39:04 1.4197
+++ ChangeLog 1999/08/27 13:49:34
@@ -1,3 +1,7 @@
+Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gcc.c (fatal): Make definition static to match prototype.
+
Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* combine.c (get_last_value): Don't look for earlier sets if the last
Index: gcc.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/gcc.c,v
retrieving revision 1.108
diff -u -p -r1.108 gcc.c
--- gcc.c 1999/08/26 05:18:41 1.108
+++ gcc.c 1999/08/27 13:49:37
@@ -5341,7 +5341,7 @@ fancy_abort ()
/* Output an error message and exit */
-void
+static void
fatal VPROTO((const char *msgid, ...))
{
#ifndef ANSI_PROTOTYPES