[vlc-devel] commit: Fix compilation. ( Rémi Duraffort )

git version control git at videolan.org
Tue Aug 25 13:31:37 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Aug 25 12:28:49 2009 +0200| [2eeddcf4ae267ad5b2bbac5d518a69c51104cf68] | committer: Rémi Duraffort 

Fix compilation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2eeddcf4ae267ad5b2bbac5d518a69c51104cf68
---

 modules/video_output/directfb.c    |    1 +
 modules/video_output/x11/xcommon.h |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c
index d250389..fd2ce25 100644
--- a/modules/video_output/directfb.c
+++ b/modules/video_output/directfb.c
@@ -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;
 }
 
diff --git a/modules/video_output/x11/xcommon.h b/modules/video_output/x11/xcommon.h
index 8337c28..0cd58ff 100644
--- a/modules/video_output/x11/xcommon.h
+++ b/modules/video_output/x11/xcommon.h
@@ -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 );




More information about the vlc-devel mailing list