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]

A prototype patch for gbl-ctors.h


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


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