From d25ea68eb175f488d9df8cdc240dd4443801e84c Mon Sep 17 00:00:00 2001 From: Snaipe Date: Fri, 27 Nov 2015 14:21:50 +0100 Subject: [PATCH] Removed the worker function pointer typedef from the public API --- include/criterion/types.h | 2 -- src/compat/process.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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;