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>
This commit is contained in:
Berthold Stoeger 2020-10-25 14:10:52 +01:00 committed by Dirk Hohndel
parent 2b86fe84f9
commit f9c3227975
9 changed files with 20 additions and 13 deletions

View file

@ -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};