aboutsummaryrefslogtreecommitdiffstats
path: root/core/units.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/units.h')
-rw-r--r--core/units.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/units.h b/core/units.h
index 95a9b0eb1..ff34991f7 100644
--- a/core/units.h
+++ b/core/units.h
@@ -139,6 +139,8 @@ typedef struct pos {
degrees_t lat, lon;
} location_t;
+static const location_t zero_location = { { 0 }, { 0 }};
+
extern void parse_location(const char *, location_t *);
static inline bool has_location(const location_t *loc)