aboutsummaryrefslogtreecommitdiffstats
path: root/u3.h
diff options
context:
space:
mode:
Diffstat (limited to 'u3.h')
-rw-r--r--u3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/u3.h b/u3.h
index 326363b087..ceff3395b2 100644
--- a/u3.h
+++ b/u3.h
@@ -25,6 +25,10 @@
#ifndef __U3_H__
#define __U3_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
gboolean u3_active(void);
void u3_runtime_info(GString *str);
@@ -35,4 +39,8 @@ void u3_deregister_pid(void);
char * u3_expand_device_path(char *path);
char * u3_contract_device_path(char *path);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __U3_H__ */