Fix compilation.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 25 Aug 2009 10:28:49 +0000 (12:28 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 25 Aug 2009 10:39:37 +0000 (12:39 +0200)
modules/video_output/directfb.c
modules/video_output/x11/xcommon.h

index d250389..fd2ce25 100644 (file)
@@ -267,6 +267,7 @@ static void Destroy( vlc_object_t *p_this )
 
 static int Manage( vout_thread_t *p_vout )
 {
+    VLC_UNUSED(p_vout);
     return VLC_SUCCESS;
 }
 
index 8337c28..0cd58ff 100644 (file)
@@ -366,8 +366,8 @@ typedef struct mwmhints_t
 #endif
 
 #ifndef MODULE_NAME_IS_glx
-static IMAGE_TYPE *CreateImage    ( vout_thread_t *,
-                                    Display *, EXTRA_ARGS, int, int );
+IMAGE_TYPE *CreateImage    ( vout_thread_t *,
+                             Display *, EXTRA_ARGS, int, int );
 #ifdef HAVE_SYS_SHM_H
 IMAGE_TYPE *CreateShmImage ( vout_thread_t *,
                                     Display *, EXTRA_ARGS_SHM, int, int );