diff --git a/include/criterion/types.h b/include/criterion/types.h index e2a18d3..4734656 100644 --- a/include/criterion/types.h +++ b/include/criterion/types.h @@ -123,6 +123,4 @@ struct criterion_test_set { size_t tests; }; -typedef void (*cr_worker_func)(struct criterion_test *, struct criterion_suite *); - #endif /* !CRITERION_TYPES_H_ */ diff --git a/src/compat/process.h b/src/compat/process.h index 8b965ab..1259e7e 100644 --- a/src/compat/process.h +++ b/src/compat/process.h @@ -27,6 +27,8 @@ # include "criterion/types.h" # include "internal.h" +typedef void (*cr_worker_func)(struct criterion_test *, struct criterion_suite *); + struct proc_handle { #ifdef VANILLA_WIN32 HANDLE handle;