diff options
Diffstat (limited to 'core/units.h')
-rw-r--r-- | core/units.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/units.h b/core/units.h index cea19f785..c9920ac14 100644 --- a/core/units.h +++ b/core/units.h @@ -137,6 +137,8 @@ typedef struct pos { degrees_t lat, lon; } location_t; +extern void parse_location(const char *, location_t *); + static inline bool has_location(const location_t *loc) { return loc->lat.udeg || loc->lon.udeg; |