projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4085
)
shm: Add C++ protection
author
Olivier Crête
<olivier.crete@collabora.co.uk>
Fri, 8 Oct 2010 21:01:29 +0000
(17:01 -0400)
committer
Olivier Crête
<olivier.crete@collabora.co.uk>
Fri, 8 Oct 2010 21:01:29 +0000
(17:01 -0400)
Add c++ protection in the relevant places
sys/shm/shmalloc.h
patch
|
blob
|
history
diff --git
a/sys/shm/shmalloc.h
b/sys/shm/shmalloc.h
index ab244267fbdfd830ea2493332da36e2b4277aeab..d5aa581ef2ab5f25d6057ee98c5a8103d192f365 100644
(file)
--- a/
sys/shm/shmalloc.h
+++ b/
sys/shm/shmalloc.h
@@
-46,6
+46,10
@@
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _ShmAllocSpace ShmAllocSpace;
typedef struct _ShmAllocBlock ShmAllocBlock;