* Makefile.direct (SRCS): Remove gc_amiga_redirects.h.
* include/include.am (pkginclude_HEADERS): Ditto.
* windows-untested/vc60/gc.dsp (SOURCE): Ditto.
* windows-untested/vc60/libgc.dsp (SOURCE): Ditto.
* windows-untested/vc70/gc.vcproj (Header Files): Ditto.
* windows-untested/vc70/libgc.vcproj (Header Files): Ditto.
* windows-untested/vc71/gc.vcproj (Header Files): Ditto.
* windows-untested/vc71/libgc.vcproj (Header Files): Ditto.
* include/gc.h: Insert the contents of gc_amiga_redirects.h instead
of including it (only if _AMIGA and not GC_AMIGA_MAKINGLIB).
* include/gc.h (GC_amiga_realloc, GC_amiga_set_toany): Remove
"extern" keyword.
* include/gc.h (GC_amiga_allocwrapper_do): Add GC_CALL to the function
argument.
* include/gc.h (GC_amiga_realloc, GC_amiga_set_toany,
GC_amiga_allocwrapper_do): Remove identifiers for arguments from the
declaration.
hpux_test_and_clear.s include/gc_gcj.h \
include/private/dbg_mlc.h \
include/private/specific.h \
- include/leak_detector.h include/gc_amiga_redirects.h \
+ include/leak_detector.h \
include/gc_pthread_redirects.h ia64_save_regs_in_stack.s \
include/gc_config_macros.h include/private/pthread_support.h \
include/private/pthread_stop_world.h include/private/darwin_semaphore.h \
GC_API void GC_CALL GC_win32_free_heap(void);
#if defined(_AMIGA) && !defined(GC_AMIGA_MAKINGLIB)
- /* Allocation really goes through GC_amiga_allocwrapper_do */
-# include "gc_amiga_redirects.h"
-#endif
+ /* Allocation really goes through GC_amiga_allocwrapper_do. */
+ void *GC_amiga_realloc(void *, size_t);
+# define GC_realloc(a,b) GC_amiga_realloc(a,b)
+ void GC_amiga_set_toany(void (*)(void));
+ extern int GC_amiga_free_space_divisor_inc;
+ extern void *(*GC_amiga_allocwrapper_do)(size_t, void *(GC_CALL *)(size_t));
+# define GC_malloc(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc)
+# define GC_malloc_atomic(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic)
+# define GC_malloc_uncollectable(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc_uncollectable)
+# define GC_malloc_stubborn(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc_stubborn)
+# define GC_malloc_atomic_uncollectable(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_uncollectable)
+# define GC_malloc_ignore_off_page(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc_ignore_off_page)
+# define GC_malloc_atomic_ignore_off_page(a) \
+ (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_ignore_off_page)
+#endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */
#ifdef __cplusplus
} /* end of extern "C" */
+++ /dev/null
-#ifndef GC_AMIGA_REDIRECTS_H
-
-# define GC_AMIGA_REDIRECTS_H
-
-# if ( defined(_AMIGA) && !defined(GC_AMIGA_MAKINGLIB) )
- extern void *GC_amiga_realloc(void *old_object,size_t new_size_in_bytes);
-# define GC_realloc(a,b) GC_amiga_realloc(a,b)
- extern void GC_amiga_set_toany(void (*func)(void));
- extern int GC_amiga_free_space_divisor_inc;
- extern void *(*GC_amiga_allocwrapper_do) \
- (size_t size,void *(*AllocFunction)(size_t size2));
-# define GC_malloc(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc)
-# define GC_malloc_atomic(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic)
-# define GC_malloc_uncollectable(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc_uncollectable)
-# define GC_malloc_stubborn(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc_stubborn)
-# define GC_malloc_atomic_uncollectable(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_uncollectable)
-# define GC_malloc_ignore_off_page(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc_ignore_off_page)
-# define GC_malloc_atomic_ignore_off_page(a) \
- (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_ignore_off_page)
-# endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */
-
-#endif /* GC_AMIGA_REDIRECTS_H */
-
-
# installed headers
#
pkginclude_HEADERS += \
- include/gc.h \
- include/gc_typed.h \
- include/gc_inline.h \
- include/gc_mark.h \
- include/gc_cpp.h \
- include/weakpointer.h \
- include/new_gc_alloc.h \
- include/gc_allocator.h \
- include/gc_backptr.h \
- include/gc_gcj.h \
- include/leak_detector.h \
- include/gc_amiga_redirects.h \
- include/gc_pthread_redirects.h \
- include/gc_config_macros.h \
- include/gc_tiny_fl.h \
- include/gc_version.h
+ include/gc.h \
+ include/gc_typed.h \
+ include/gc_inline.h \
+ include/gc_mark.h \
+ include/gc_cpp.h \
+ include/weakpointer.h \
+ include/new_gc_alloc.h \
+ include/gc_allocator.h \
+ include/gc_backptr.h \
+ include/gc_gcj.h \
+ include/leak_detector.h \
+ include/gc_pthread_redirects.h \
+ include/gc_config_macros.h \
+ include/gc_tiny_fl.h \
+ include/gc_version.h
# headers which are not installed
#
dist_noinst_HEADERS += \
- include/private/gc_hdrs.h \
- include/private/gc_priv.h \
- include/private/gcconfig.h \
- include/private/gc_pmark.h \
- include/private/gc_locks.h \
- include/private/dbg_mlc.h \
- include/private/specific.h \
- include/private/cord_pos.h \
- include/private/pthread_support.h \
- include/private/pthread_stop_world.h \
- include/private/darwin_semaphore.h \
- include/private/darwin_stop_world.h \
- include/private/thread_local_alloc.h \
- include/cord.h \
- include/ec.h \
- include/javaxfc.h
+ include/private/gc_hdrs.h \
+ include/private/gc_priv.h \
+ include/private/gcconfig.h \
+ include/private/gc_pmark.h \
+ include/private/gc_locks.h \
+ include/private/dbg_mlc.h \
+ include/private/specific.h \
+ include/private/cord_pos.h \
+ include/private/pthread_support.h \
+ include/private/pthread_stop_world.h \
+ include/private/darwin_semaphore.h \
+ include/private/darwin_stop_world.h \
+ include/private/thread_local_alloc.h \
+ include/cord.h \
+ include/ec.h \
+ include/javaxfc.h
# unprefixed header
include_HEADERS += \
# End Source File
# Begin Source File
-SOURCE=..\..\include\gc_amiga_redirects.h
-# End Source File
-# Begin Source File
-
SOURCE=..\..\include\gc_backptr.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
-SOURCE=..\..\include\gc_amiga_redirects.h
-# End Source File
-# Begin Source File
-
SOURCE=..\..\include\gc_backptr.h
# End Source File
# Begin Source File
<File
RelativePath="..\..\include\gc_allocator.h">
</File>
- <File
- RelativePath="..\..\include\gc_amiga_redirects.h">
- </File>
<File
RelativePath="..\..\include\gc_backptr.h">
</File>
<File
RelativePath="..\..\include\gc_allocator.h">
</File>
- <File
- RelativePath="..\..\include\gc_amiga_redirects.h">
- </File>
<File
RelativePath="..\..\include\gc_backptr.h">
</File>
<File
RelativePath="..\..\include\gc_allocator.h">
</File>
- <File
- RelativePath="..\..\include\gc_amiga_redirects.h">
- </File>
<File
RelativePath="..\..\include\gc_backptr.h">
</File>
<File
RelativePath="..\..\include\gc_allocator.h">
</File>
- <File
- RelativePath="..\..\include\gc_amiga_redirects.h">
- </File>
<File
RelativePath="..\..\include\gc_backptr.h">
</File>