summaryrefslogtreecommitdiffstats
path: root/core/membuffer.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-01 12:53:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-01 09:42:31 -0700
commitc13040798c66c5254fbcc921842cd519da05a4c5 (patch)
tree52ffa1931f0a51b8c709b02b3b26fcbc0f273f30 /core/membuffer.c
parent8ce7c4664a71f86c49091f7ddec10fbc0cccf095 (diff)
downloadsubsurface-c13040798c66c5254fbcc921842cd519da05a4c5.tar.gz
cleanup: move FRACTION macro from dive.h to units.h
There appears to be no reason to slurp in all dive.h when compiling membuffer.c. units.h might not seem like the perfect place, but it is the most fitting I found. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/membuffer.c')
-rw-r--r--core/membuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/membuffer.c b/core/membuffer.c
index 8efb04c9e..d0e5160ef 100644
--- a/core/membuffer.c
+++ b/core/membuffer.c
@@ -9,7 +9,7 @@
#include <string.h>
#include <stdio.h>
-#include "dive.h"
+#include "units.h"
#include "membuffer.h"
/* Only for internal use */