aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorDavid Ayers <d.ayers@inode.at>2006-01-24 23:00:26 +0100
committerDavid Ayers <ayers@gcc.gnu.org>2006-01-24 22:00:26 +0000
commit8827ffce99b4f1ede633ac71a2f4dab7dfcbd828 (patch)
tree6acb37e6eb6463bd2f833bcf5065ab98a458d846 /boehm-gc/include
parent8c3e5222e3716a8986ce0ece0f1237aa17a36ee3 (diff)
downloadgcc-8827ffce99b4f1ede633ac71a2f4dab7dfcbd828.zip
gcc-8827ffce99b4f1ede633ac71a2f4dab7dfcbd828.tar.gz
gcc-8827ffce99b4f1ede633ac71a2f4dab7dfcbd828.tar.bz2
re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc)
2006-01-24 David Ayers <d.ayers@inode.at> PR libobjc/13946 * include/gc.h: Fix prototype declarations for bootstrap. From-SVN: r110183
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/gc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h
index 0781a61..9da5b2c 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 */