diff -r c9033d30a9f6 -r 0e1bf3c199bf src/cx/test.h --- a/src/cx/test.h Thu Oct 31 12:15:13 2024 +0100 +++ b/src/cx/test.h Thu Oct 31 12:15:45 2024 +0100 @@ -67,7 +67,8 @@ #ifndef UCX_TEST_H #define UCX_TEST_H -#include +#include "common.h" + #include #include #include @@ -91,18 +92,6 @@ #pragma GCC diagnostic ignored "-Wclobbered" #endif -#ifndef UCX_COMMON_H -/** - * Function pointer compatible with fwrite-like functions. - */ -typedef size_t (*cx_write_func)( - const void *, - size_t, - size_t, - void * -); -#endif // UCX_COMMON_H - /** Type for the CxTestSuite. */ typedef struct CxTestSuite CxTestSuite;