diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-12 19:19:01 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-12 19:19:01 +0000 |
commit | 205b5771ac9338ca79b9191c4e57de74e05ef028 (patch) | |
tree | bb69efaa2a8d376889e6ca501bfc5aafd4d9c33a /gcc/crtstuff.c | |
parent | 45ba0d623ad80a0698f3693f2bac8edb8ed1dbbd (diff) | |
download | gcc-205b5771ac9338ca79b9191c4e57de74e05ef028.tar.gz |
* crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
__dereg_frame_dtor): Add prototype argument.
* gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
* gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
* gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
* gthr-vxworks.h (__gthread_once): Likewise.
* gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31945 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r-- | gcc/crtstuff.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c index c2d4fac605a..ebfb340f51b 100644 --- a/gcc/crtstuff.c +++ b/gcc/crtstuff.c @@ -239,7 +239,7 @@ init_dummy (void) INVOKE__main is defined. This has the additional effect of forcing cc1 to switch to the .text section. */ -static void __do_global_ctors_aux (); +static void __do_global_ctors_aux (void); void __do_global_ctors (void) { @@ -532,7 +532,7 @@ extern const struct section * #ifdef CRT_BEGIN -static void __reg_frame_ctor () __attribute__ ((constructor)); +static void __reg_frame_ctor (void) __attribute__ ((constructor)); static void __reg_frame_ctor (void) @@ -549,10 +549,9 @@ __reg_frame_ctor (void) #ifdef CRT_END -static void __dereg_frame_dtor () __attribute__ ((destructor)); +static void __dereg_frame_dtor (void) __attribute__ ((destructor)); -static -void +static void __dereg_frame_dtor (void) { const struct section *eh_frame; |