summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-25 14:10:52 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:52 -0700
commitf9c3227975e02a576c039e55a2d775dd9d691e03 (patch)
tree57a6cfe016cd6f0e77eabeae9f00ad2823df349c /core/dive.h
parent2b86fe84f9b2ac1edae47ff1dd8e5d34373ddff5 (diff)
downloadsubsurface-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/dive.h')
-rw-r--r--core/dive.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/core/dive.h b/core/dive.h
index 6e49c2893..0b0597477 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -4,19 +4,13 @@
// dive and dive computer related structures and helpers
-#include <stdlib.h>
-#include <stdint.h>
-#include <stdbool.h>
-#include <time.h>
-#include <math.h>
-#include <string.h>
-#include <stdio.h>
-
#include "divemode.h"
#include "divecomputer.h"
#include "equipment.h"
#include "picture.h"
+#include <stdio.h>
+
#ifdef __cplusplus
extern "C" {
#endif