[MPlayer-cvslog] r34054 - in trunk/libvo: x11_common.c x11_common.h

ib subversion at mplayerhq.hu
Mon Sep 5 13:48:36 CEST 2011


Author: ib
Date: Mon Sep  5 13:48:36 2011
New Revision: 34054

Log:
Make vo_hidecursor() and vo_showcursor() static.

These functions are only used within the file.

Modified:
   trunk/libvo/x11_common.c
   trunk/libvo/x11_common.h

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Sat Sep  3 17:52:07 2011	(r34053)
+++ trunk/libvo/x11_common.c	Mon Sep  5 13:48:36 2011	(r34054)
@@ -178,7 +178,7 @@ void vo_x11_ewmh_fullscreen(Window win, 
     }
 }
 
-void vo_hidecursor(Display * disp, Window win)
+static void vo_hidecursor(Display * disp, Window win)
 {
     Cursor no_ptr;
     Pixmap bm_no;
@@ -203,7 +203,7 @@ void vo_hidecursor(Display * disp, Windo
     XFreeColors(disp,colormap,&black.pixel,1,0);
 }
 
-void vo_showcursor(Display * disp, Window win)
+static void vo_showcursor(Display * disp, Window win)
 {
     if (WinID == 0)
         return;

Modified: trunk/libvo/x11_common.h
==============================================================================
--- trunk/libvo/x11_common.h	Sat Sep  3 17:52:07 2011	(r34053)
+++ trunk/libvo/x11_common.h	Mon Sep  5 13:48:36 2011	(r34054)
@@ -63,8 +63,6 @@ extern int stop_xscreensaver;
 
 int vo_init( void );
 void vo_uninit( void );
-void vo_hidecursor ( Display* , Window );
-void vo_showcursor( Display *disp, Window win );
 void vo_x11_decoration( Display * vo_Display,Window w,int d );
 void vo_x11_classhint( Display * display,Window window,const char *name );
 void vo_x11_nofs_sizepos(int x, int y, int width, int height);


More information about the MPlayer-cvslog mailing list