diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-13 15:01:29 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 23:07:13 -0400 |
commit | 63cf3148cc3f60edf5c604a562ec95b40b8cb010 (patch) | |
tree | e79dc71b41380aae80af0592e1c18ff6f1b6a245 | |
parent | f2a5bc62bf1820842d20bb692fda9634e0743006 (diff) | |
download | stasis-63cf3148cc3f60edf5c604a562ec95b40b8cb010.tar.gz |
Add multiprocessing.h to core.h
* Remove multiprocessing.h from other files
-rw-r--r-- | include/core.h | 1 | ||||
-rw-r--r-- | src/delivery.c | 1 | ||||
-rw-r--r-- | src/multiprocessing.c | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/include/core.h b/include/core.h index 614a894..5011dea 100644 --- a/include/core.h +++ b/include/core.h @@ -22,6 +22,7 @@ #include "config.h" #include "core_mem.h" +#include "multiprocessing.h" #include "envctl.h" #include "template.h" #include "utils.h" diff --git a/src/delivery.c b/src/delivery.c index 1113119..7759c3e 100644 --- a/src/delivery.c +++ b/src/delivery.c @@ -2,7 +2,6 @@ #include <fnmatch.h> #include "core.h" -#include "multiprocessing.h" extern struct STASIS_GLOBAL globals; diff --git a/src/multiprocessing.c b/src/multiprocessing.c index ad6dec5..bdd74ba 100644 --- a/src/multiprocessing.c +++ b/src/multiprocessing.c @@ -1,4 +1,4 @@ -#include "multiprocessing.h" +#include "core.h" size_t mp_global_task_count = 0; static struct MultiProcessingTask *mp_pool_next_available(struct MultiProcessingPool *pool) { |