Issue #201 (bdwgc).
* tests/disclaim_test.c [__cplusplus] (GC_random): Wrap the function
declaration into extern "C".
* tests/test.c [__cplusplus] [GC_AMIGA_FASTALLOC && AMIGA]
(GC_amiga_free_all_mem): Likewise.
# ifndef GC_API_PRIV
# define GC_API_PRIV GC_API
# endif
+# ifdef __cplusplus
+ extern "C" {
+# endif
GC_API_PRIV long GC_random(void);
+# ifdef __cplusplus
+ } /* extern "C" */
+# endif
# undef rand
# define rand() (int)GC_random()
#endif /* LINT2 */
#if defined(GC_AMIGA_FASTALLOC) && defined(AMIGA)
+# ifdef __cplusplus
+ extern "C" {
+# endif
void GC_amiga_free_all_mem(void);
+# ifdef __cplusplus
+ } /* extern "C" */
+# endif
+
void Amiga_Fail(void){GC_amiga_free_all_mem();abort();}
# define FAIL Amiga_Fail()
void *GC_amiga_gctest_malloc_explicitly_typed(size_t lb, GC_descr d){