--- a/test/mpool_tests.c Mon Aug 05 14:38:37 2013 +0200 +++ b/test/mpool_tests.c Tue Aug 06 10:22:03 2013 +0200 @@ -123,7 +123,7 @@ ucx_mempool_destroy(pool); } -void test_setdestr(void* elem) { +UCX_EXTERN void test_setdestr(void* elem) { intptr_t *cb = (intptr_t*) ((intptr_t*) elem)[1]; *cb = 42; }