From 5825c6244ca20641f32b918544dd7346f49d8945 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sun, 27 Nov 2016 19:55:48 +0000 Subject: [PATCH] Missing files... --- src/common_io.c | 1 - src/cooling_struct.h | 3 --- src/debug.c | 1 - src/gravity.h | 3 ++- src/partition.c | 1 - src/queue.c | 1 - src/scheduler.c | 1 - src/units.c | 1 - 8 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/common_io.c b/src/common_io.c index f2a2f6463d..ef7867f469 100644 --- a/src/common_io.c +++ b/src/common_io.c @@ -40,7 +40,6 @@ #include "common_io.h" /* Local includes. */ -#include "const.h" #include "error.h" #include "hydro.h" #include "kernel_hydro.h" diff --git a/src/cooling_struct.h b/src/cooling_struct.h index 0c56778842..c766e10b29 100644 --- a/src/cooling_struct.h +++ b/src/cooling_struct.h @@ -27,9 +27,6 @@ /* Config parameters. */ #include "../config.h" -/* Local headers. */ -#include "const.h" - /* Import the right cooling definition */ #if defined(COOLING_NONE) #include "./cooling/none/cooling_struct.h" diff --git a/src/debug.c b/src/debug.c index 7a50368f06..48572df7f0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -32,7 +32,6 @@ /* Local includes. */ #include "cell.h" -#include "const.h" #include "engine.h" #include "hydro.h" #include "inline.h" diff --git a/src/gravity.h b/src/gravity.h index f737a0ab88..6edcd59d99 100644 --- a/src/gravity.h +++ b/src/gravity.h @@ -19,7 +19,8 @@ #ifndef SWIFT_GRAVITY_H #define SWIFT_GRAVITY_H -#include "./const.h" +/* Config parameters. */ +#include "../config.h" /* So far only one model here */ /* Straight-forward import */ diff --git a/src/partition.c b/src/partition.c index 3f53861544..89ba3f2835 100644 --- a/src/partition.c +++ b/src/partition.c @@ -47,7 +47,6 @@ #endif /* Local headers. */ -#include "const.h" #include "debug.h" #include "error.h" #include "partition.h" diff --git a/src/queue.c b/src/queue.c index af4dfa3c94..b22313d71d 100644 --- a/src/queue.c +++ b/src/queue.c @@ -35,7 +35,6 @@ /* Local headers. */ #include "atomic.h" -#include "const.h" #include "error.h" /** diff --git a/src/scheduler.c b/src/scheduler.c index 1a57d7ae26..0d7c8c4754 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -40,7 +40,6 @@ /* Local headers. */ #include "atomic.h" -#include "const.h" #include "cycle.h" #include "engine.h" #include "error.h" diff --git a/src/units.c b/src/units.c index 05b83a3427..d50186637f 100644 --- a/src/units.c +++ b/src/units.c @@ -38,7 +38,6 @@ /* Includes. */ #include "adiabatic_index.h" -#include "const.h" #include "error.h" /** -- GitLab