diff options
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 4bb0239e9..07d965ef6 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -2,10 +2,6 @@ #define LIBDIVECOMPUTER_H -#ifdef __cplusplus -extern "C" { -#endif - /* libdivecomputer */ #include <libdivecomputer/version.h> #include <libdivecomputer/device.h> @@ -14,6 +10,10 @@ extern "C" { /* handling uemis Zurich SDA files */ #include "uemis.h" +#ifdef __cplusplus +extern "C" { +#endif + /* don't forget to include the UI toolkit specific display-XXX.h first to get the definition of progressbar_t */ typedef struct device_data_t { |