diff options
author | David Ayers <d.ayers@inode.at> | 2006-01-24 22:00:26 +0000 |
---|---|---|
committer | David Ayers <d.ayers@inode.at> | 2006-01-24 22:00:26 +0000 |
commit | 0afc541e8bdc0a66e4116ea8bf7234fc39f4aceb (patch) | |
tree | 6acb37e6eb6463bd2f833bcf5065ab98a458d846 /boehm-gc | |
parent | f45d912c97133e884dd725bc2b82e1e6603b6fbf (diff) |
2006-01-24 David Ayers <d.ayers@inode.at>
PR libobjc/13946
* include/gc.h: Fix prototype declarations for bootstrap.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@110183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 5 | ||||
-rw-r--r-- | boehm-gc/include/gc.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 06f026a11216..7de1c32ae171 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-24 David Ayers <d.ayers@inode.at> + + PR libobjc/13946 + * include/gc.h: Fix prototype declarations for bootstrap. + 2005-11-01 Bryce McKinlay <mckinlay@redhat.com> * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h index 0781a611bb09..9da5b2cea0c9 100644 --- a/boehm-gc/include/gc.h +++ b/boehm-gc/include/gc.h @@ -152,7 +152,7 @@ GC_API int GC_java_finalization; /* ordered finalization. Default value is */ /* determined by JAVA_FINALIZATION macro. */ -GC_API void (* GC_finalizer_notifier)(); +GC_API void (* GC_finalizer_notifier) GC_PROTO((void)); /* Invoked by the collector when there are */ /* objects to be finalized. Invoked at most */ /* once per GC cycle. Never invoked unless */ @@ -918,7 +918,7 @@ GC_API void (*GC_is_visible_print_proc) GC_PTR GC_malloc_many(size_t lb); #define GC_NEXT(p) (*(GC_PTR *)(p)) /* Retrieve the next element */ /* in returned list. */ -extern void GC_thr_init(); /* Needed for Solaris/X86 */ +extern void GC_thr_init GC_PROTO((void));/* Needed for Solaris/X86 */ #endif /* THREADS && !SRC_M3 */ |