diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 14:10:52 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | f9c3227975e02a576c039e55a2d775dd9d691e03 (patch) | |
tree | 57a6cfe016cd6f0e77eabeae9f00ad2823df349c /core/statistics.c | |
parent | 2b86fe84f9b2ac1edae47ff1dd8e5d34373ddff5 (diff) | |
download | subsurface-f9c3227975e02a576c039e55a2d775dd9d691e03.tar.gz |
cleanup: remove system includes from dive.c
Let the various source files include the system headers they need
themselves.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/statistics.c')
-rw-r--r-- | core/statistics.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/statistics.c b/core/statistics.c index 86d1cfce6..eae7414d9 100644 --- a/core/statistics.c +++ b/core/statistics.c @@ -6,19 +6,21 @@ * void calculate_stats_summary(struct stats_summary *out, bool selected_only); * void calculate_stats_selected(stats_t *stats_selection); */ -#include "gettext.h" -#include <string.h> -#include <ctype.h> +#include "statistics.h" #include "dive.h" #include "display.h" #include "event.h" +#include "gettext.h" #include "sample.h" #include "subsurface-time.h" #include "trip.h" -#include "statistics.h" #include "units.h" +#include <stdlib.h> +#include <string.h> +#include <ctype.h> + static void process_temperatures(struct dive *dp, stats_t *stats) { temperature_t min_temp, mean_temp, max_temp = {.mkelvin = 0}; |