summaryrefslogtreecommitdiffstats
path: root/core/statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/statistics.c')
-rw-r--r--core/statistics.c10
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};