changeset 24241:e6c56a194610

warning fix: vo_xmga.c: At top level: mga_common.c:212: warning: 'mga_fullscreen' defined but not used
author diego
date Tue, 28 Aug 2007 11:04:36 +0000
parents 57a3895ba1cc
children 76f5d8892c04
files libvo/mga_common.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/mga_common.c	Tue Aug 28 10:55:53 2007 +0000
+++ b/libvo/mga_common.c	Tue Aug 28 11:04:36 2007 +0000
@@ -207,6 +207,7 @@
     return 0;
 }
 
+#ifndef VO_XMGA
 static void mga_fullscreen()
 {
 	uint32_t w,h;
@@ -226,6 +227,7 @@
 	if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
 		mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_MGA_ErrorInConfigIoctl );
 }
+#endif
 
 static int control(uint32_t request, void *data, ...)
 {