diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-01 12:22:06 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-01 08:53:45 -0700 |
commit | 44132e44a9ada802641d8dc1dd98c77d4c06e655 (patch) | |
tree | ef201771c26c141862ccbd6b796ece034d402fb7 /core | |
parent | c8334ad11bbffde99fc3baa5256be68489b51ed8 (diff) | |
download | subsurface-44132e44a9ada802641d8dc1dd98c77d4c06e655.tar.gz |
cleanup: make enumerate_devices of external linkage
For consistency: declare enumerate_dives as extern, since we do that
for all other C-functions.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/display.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/display.h b/core/display.h index 6c26e2763..cdeac9961 100644 --- a/core/display.h +++ b/core/display.h @@ -34,7 +34,7 @@ extern int is_default_dive_computer(const char *, const char *); typedef void (*device_callback_t)(const char *name, void *userdata); -int enumerate_devices(device_callback_t callback, void *userdata, unsigned int transport); +extern int enumerate_devices(device_callback_t callback, void *userdata, unsigned int transport); #define AMB_PERCENTAGE 50.0 |