diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2015-04-04 01:04:08 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-04 10:33:11 -0700 |
commit | ed6ae14a9f6f608cb8ca72e8982806ea03c43571 (patch) | |
tree | 037d2003e14f2bc932eda042fc0e3f2ed984c151 | |
parent | 094d0d96997a89601a82c98bb084089355e59446 (diff) | |
download | subsurface-ed6ae14a9f6f608cb8ca72e8982806ea03c43571.tar.gz |
Move extern declaration to header file
Move extern declaration of function datatrak_import() to file.h, where it
fits better than in file.c
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | file.c | 2 | ||||
-rw-r--r-- | file.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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; @@ -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" { |