diff --git a/src/common_io.c b/src/common_io.c index f2a2f6463de228ab63d71e1dd05f049e73e6cb2b..ef7867f469e63868be90b9da95ccc774b12d87e5 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 0c567788423ae39507864de8b4a687eeed358cb6..c766e10b299e58e2e517f7a70b057a93bb5e0530 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 7a50368f069deef0c7d77b4ac3407ab059888d68..48572df7f046944613d2598b0d340e949ad3ab7e 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 f737a0ab882592cffb974f66ccbb62fa3d16d408..6edcd59d9955029217364d4fc67874216b0e24dc 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 3f5386154497d6901a5330b828007f86d87033a4..89ba3f2835cb78e07ec2bc5cb04c3f8f71751563 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 af4dfa3c94470814d4f6e7f53687a2fcba69d6dd..b22313d71d733ae1a6b3419d492356f9d914f61f 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 1a57d7ae267e9ddb5b9d0428b75bca94c7aeb85d..0d7c8c4754bac931c7886200176e3e9441c63c53 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 05b83a3427cc40efe8a9cc3a79aa48fec4af05c1..d50186637f5cc14d8b981d1331c6d656b4575592 100644 --- a/src/units.c +++ b/src/units.c @@ -38,7 +38,6 @@ /* Includes. */ #include "adiabatic_index.h" -#include "const.h" #include "error.h" /**