This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]