summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.c2
-rw-r--r--file.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index 03eb41c8d..5be16a2a0 100644
--- a/file.c
+++ b/file.c
@@ -22,8 +22,6 @@
#define O_BINARY 0
#endif
-extern void datatrak_import(const char *file, struct dive_table *table);
-
int readfile(const char *filename, struct memblock *mem)
{
int ret, fd;
diff --git a/file.h b/file.h
index d4c52fdb7..b1fb6941d 100644
--- a/file.h
+++ b/file.h
@@ -8,6 +8,7 @@ struct memblock {
extern int try_to_open_cochran(const char *filename, struct memblock *mem);
extern int try_to_open_liquivision(const char *filename, struct memblock *mem);
+extern void datatrak_import(const char *file, struct dive_table *table);
#ifdef __cplusplus
extern "C" {