From 14cfa65bd9a3ccdaf1946e7638f805de3ff04930 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Sat, 5 Nov 2011 15:54:34 +0000 Subject: [PATCH] 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 --- legacy/emotion/src/modules/generic/Emotion_Generic_Plugin.h | 4 ++-- 1 file 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 int frame_drop; }; -inline int +static inline int emotion_generic_shm_get(const char *shmname, Emotion_Generic_Video_Shared **vs, Emotion_Generic_Video_Frame *vf) { int shmfd = -1; @@ -133,7 +133,7 @@ emotion_generic_shm_get(const char *shmname, Emotion_Generic_Video_Shared **vs, return 1; } -inline void +static inline void emotion_generic_shm_free(Emotion_Generic_Video_Shared *vs) { munmap(vs, vs->size);