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>
This commit is contained in:
Berthold Stoeger 2020-05-01 12:22:06 +02:00 committed by Dirk Hohndel
parent c8334ad11b
commit 44132e44a9

View file

@ -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