aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/thread_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/threads/thread_pool.h')
-rw-r--r--Source/charon/threads/thread_pool.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/charon/threads/thread_pool.h b/Source/charon/threads/thread_pool.h
index 54022e4b4..609fb04d2 100644
--- a/Source/charon/threads/thread_pool.h
+++ b/Source/charon/threads/thread_pool.h
@@ -27,15 +27,16 @@
#include <types.h>
+
+typedef struct thread_pool_t thread_pool_t;
+
/**
* @brief A thread_pool contains a pool of threads processing the job queue.
*
* Current implementation uses as many threads as specified in constructor.
* A more improved version would dynamically increase thread count if necessary...
*/
-typedef struct thread_pool_s thread_pool_t;
-
-struct thread_pool_s {
+struct thread_pool_t {
/**
* @brief return currently instanciated threads
*