src/cx/test.h

changeset 959
0e1bf3c199bf
parent 890
54565fd74e74
--- 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 <stdlib.h>
+#include "common.h"
+
 #include <stdio.h>
 #include <string.h>
 #include <setjmp.h>
@@ -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;
 

mercurial