summaryrefslogtreecommitdiffstats
path: root/core/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/display.h')
-rw-r--r--core/display.h2
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