summaryrefslogtreecommitdiff
path: root/legacy/emotion
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-11-05 15:54:34 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-11-05 15:54:34 +0000
commit14cfa65bd9a3ccdaf1946e7638f805de3ff04930 (patch)
tree8543f88b749e521c2c916adcbe3325d260bb3a10 /legacy/emotion
parentae70ed142a98a2d9d151601b2a68067bfd7e9743 (diff)
emotion: fix symbol issue.
NOTE: all inline function in header should be static or they will export symbol and you don't want that. SVN revision: 64765
Diffstat (limited to 'legacy/emotion')
-rw-r--r--legacy/emotion/src/modules/generic/Emotion_Generic_Plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/emotion/src/modules/generic/Emotion_Generic_Plugin.h b/legacy/emotion/src/modules/generic/Emotion_Generic_Plugin.h
index ad67a32793..4dd847319f 100644
--- a/legacy/emotion/src/modules/generic/Emotion_Generic_Plugin.h
+++ b/legacy/emotion/src/modules/generic/Emotion_Generic_Plugin.h
@@ -92,7 +92,7 @@ struct _Emotion_Generic_Video_Shared
92 int frame_drop; 92 int frame_drop;
93}; 93};
94 94
95inline int 95static inline int
96emotion_generic_shm_get(const char *shmname, Emotion_Generic_Video_Shared **vs, Emotion_Generic_Video_Frame *vf) 96emotion_generic_shm_get(const char *shmname, Emotion_Generic_Video_Shared **vs, Emotion_Generic_Video_Frame *vf)
97{ 97{
98 int shmfd = -1; 98 int shmfd = -1;
@@ -133,7 +133,7 @@ emotion_generic_shm_get(const char *shmname, Emotion_Generic_Video_Shared **vs,
133 return 1; 133 return 1;
134} 134}
135 135
136inline void 136static inline void
137emotion_generic_shm_free(Emotion_Generic_Video_Shared *vs) 137emotion_generic_shm_free(Emotion_Generic_Video_Shared *vs)
138{ 138{
139 munmap(vs, vs->size); 139 munmap(vs, vs->size);