summaryrefslogtreecommitdiffstats
path: root/core/parse.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-11-27 20:03:05 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-27 13:42:10 -0800
commit568db03228f3fcaafb0252d133ebc1d8c66923ed (patch)
treeb94b92f6b4d45e42cab92b9af3e645bd5e770d6c /core/parse.c
parentddb9dba66cef3a1c88e0f91a4f65c44f5769b0f5 (diff)
downloadsubsurface-568db03228f3fcaafb0252d133ebc1d8c66923ed.tar.gz
Move metric variable to parse.c
This is required when moving Shearwater DB parsing into parse-db.c Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/parse.c')
-rw-r--r--core/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/parse.c b/core/parse.c
index 228b8d59f..3335b8f57 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -9,6 +9,9 @@
#include "parse.h"
#include "divelist.h"
#include "device.h"
+#include "gettext.h"
+
+int metric = 1;
/*
static union {