libbluray | branch: master | tourettes <[email protected]> | Sun 
Aug  2 15:13:21 2015 +0300| [38c7e68c6cfd55de86a3aa805f2b9a8c1378ef63] | 
committer: hpi1

Missing extern "C" in refcnt.h

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=38c7e68c6cfd55de86a3aa805f2b9a8c1378ef63
---

 src/util/refcnt.h |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/util/refcnt.h b/src/util/refcnt.h
index b839eba..9164921 100644
--- a/src/util/refcnt.h
+++ b/src/util/refcnt.h
@@ -20,6 +20,10 @@
 #ifndef BD_REFCNT_H_
 #define BD_REFCNT_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "attributes.h"
 
 #include <stddef.h>
@@ -53,4 +57,8 @@ void bd_refcnt_inc(const void *obj);
 void bd_refcnt_dec(const void *obj);
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // BD_REFCNT_H_

_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to