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
This commit is contained in:
Cedric BAIL 2011-11-05 15:54:34 +00:00
parent ae70ed142a
commit 14cfa65bd9
1 changed files with 2 additions and 2 deletions

View File

@ -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);