Patch to gcc.c (fatal): Make definition static to match prototype.

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Fri Aug 27 06:52:00 GMT 1999


	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


More information about the Gcc-patches mailing list