mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
c8334ad11b
commit
44132e44a9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue