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>
This commit is contained in:
parent
094d0d9699
commit
ed6ae14a9f
2
file.c
2
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;
|
||||
|
||||
1
file.h
1
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" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user