diff options
author | Alberto Mardegan <mardy@users.sourceforge.net> | 2013-04-01 13:51:49 +0300 |
---|---|---|
committer | Alberto Mardegan <mardy@users.sourceforge.net> | 2013-04-01 16:03:59 +0300 |
commit | 578d633d0148a13397f330aa91af1470843d73c1 (patch) | |
tree | 3fe9b442b5c62a0b2bf0dc54f463f02594b51e24 /device.h | |
parent | 42365ede79ec34dba58447458bbc3f1c66cba7d1 (diff) | |
download | subsurface-578d633d0148a13397f330aa91af1470843d73c1.tar.gz |
Have some C++ file in the project
Rename gtk-gui.c to qt-gui.cpp, and make the necessary changes so that
the project still builds.
Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,10 @@ #ifndef DEVICE_INFO_H #define DEVICE_INFO_H +#ifdef __cplusplus +extern "C" { +#endif + struct device_info { const char *model; uint32_t deviceid; @@ -17,4 +21,8 @@ extern struct device_info *create_device_info(const char *model, uint32_t device extern struct device_info *remove_device_info(const char *model, uint32_t deviceid); extern struct device_info *head_of_device_info_list(void); +#ifdef __cplusplus +} +#endif + #endif |