aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/thread_pool.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-07 13:12:26 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-07 13:12:26 +0000
commitc5a6681c42b18e186d90f1ac087dd1f5809c7fea (patch)
tree1df784697cc5ef20340543e4e24c3b2abe02524d /Source/charon/thread_pool.c
parent6962f6c92f47438773b43b784ef34dc9a096cf5e (diff)
downloadstrongswan-c5a6681c42b18e186d90f1ac087dd1f5809c7fea.tar.bz2
strongswan-c5a6681c42b18e186d90f1ac087dd1f5809c7fea.tar.xz
- global objects are defined in globals
Diffstat (limited to 'Source/charon/thread_pool.c')
-rw-r--r--Source/charon/thread_pool.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/charon/thread_pool.c b/Source/charon/thread_pool.c
index d023d0a08..beaec6f1d 100644
--- a/Source/charon/thread_pool.c
+++ b/Source/charon/thread_pool.c
@@ -20,20 +20,15 @@
* for more details.
*/
-
-#include "thread_pool.h"
-
-#include "job_queue.h"
-
#include <stdlib.h>
#include <freeswan.h>
#include <pluto/constants.h>
#include <pluto/defs.h>
-
#include <pthread.h>
-
-extern job_queue_t *global_job_queue;
-
+
+#include "thread_pool.h"
+#include "job_queue.h"
+#include "globals.h"
/**
* structure with private members for thread_pool