aboutsummaryrefslogtreecommitdiffstats
path: root/core/parse.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-11-27 20:28:41 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-27 13:42:10 -0800
commit8be626d2c1f7d6a91eecb45dc91cdeb961f0a62b (patch)
tree2d84710a4094bc2c5841fd337c07e0d54b3f9f30 /core/parse.h
parentb3605de93e1c5e7f5a68f6692b8d26806f575625 (diff)
downloadsubsurface-8be626d2c1f7d6a91eecb45dc91cdeb961f0a62b.tar.gz
Move atoi_n to parse.c
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/parse.h')
-rw-r--r--core/parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/parse.h b/core/parse.h
index f8af63d04..259cf5aaa 100644
--- a/core/parse.h
+++ b/core/parse.h
@@ -54,6 +54,7 @@ extern struct dive_table dive_table;
extern struct dive_table *target_table;
extern int metric;
+extern int diveid;
int trimspace(char *buffer);
void clear_table(struct dive_table *table);
@@ -96,5 +97,6 @@ void userid_stop(void);
void utf8_string(char *buffer, void *_res);
void add_dive_site(char *ds_name, struct dive *dive);
+int atoi_n(char *ptr, unsigned int len);
#endif