This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
A prototype patch for gbl-ctors.h
- To: egcs-patches at cygnus dot com
- Subject: A prototype patch for gbl-ctors.h
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sat, 20 Jun 1998 17:12:27 -0700 (PDT)
gbl-ctors.h is used by gcc. It is ok to add void.
--
H.J. Lu (hjl@gnu.org)
---
Sat Jun 20 16:58:47 1998 H.J. Lu (hjl@gnu.org)
* gbl-ctors.h (__do_global_dtors): Add prototype.
Index: gbl-ctors.h
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/gbl-ctors.h,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 gbl-ctors.h
--- gbl-ctors.h 1998/04/05 19:07:40 1.1.1.2
+++ gbl-ctors.h 1998/04/05 19:13:40
@@ -60,7 +60,7 @@ extern func_ptr __DTOR_LIST__[];
/* Declare the routine which need to get invoked at program exit time. */
-extern void __do_global_dtors ();
+extern void __do_global_dtors (void);
/* Define a macro with the code which needs to be executed at program
start-up time. This macro is used in two places in crtstuff.c (for