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>
This commit is contained in:
Miika Turkia 2017-11-27 20:03:05 +02:00 committed by Dirk Hohndel
parent ddb9dba66c
commit 568db03228
3 changed files with 5 additions and 1 deletions

View file

@ -53,6 +53,8 @@ enum import_source {
extern struct dive_table dive_table;
extern struct dive_table *target_table;
extern int metric;
int trimspace(char *buffer);
void clear_table(struct dive_table *table);
void record_dive_to_table(struct dive *dive, struct dive_table *table);