Put GC internal function prototypes in tests into extern 'C' block
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Feb 2018 06:02:14 +0000 (09:02 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 8 Feb 2018 06:02:14 +0000 (09:02 +0300)
commit00220df760963723b756e28c52d19894ac930e60
tree1758d32dcba9dcfb35219b8a373d8e8e05260927
parent5ca9af9e19443967160f4c785913974ac151525c
Put GC internal function prototypes in tests into extern 'C' block

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.
tests/disclaim_test.c
tests/test.c