changeset 33966:5c6f715d8042

Make vo_hidecursor() and vo_showcursor() static. These functions are only used within the file.
author ib
date Mon, 05 Sep 2011 11:48:36 +0000
parents 8a480da297e5
children 8e5acc2132f1
files libvo/x11_common.c libvo/x11_common.h
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sat Sep 03 15:52:07 2011 +0000
+++ b/libvo/x11_common.c	Mon Sep 05 11:48:36 2011 +0000
@@ -178,7 +178,7 @@
     }
 }
 
-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 @@
     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;
--- a/libvo/x11_common.h	Sat Sep 03 15:52:07 2011 +0000
+++ b/libvo/x11_common.h	Mon Sep 05 11:48:36 2011 +0000
@@ -63,8 +63,6 @@
 
 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);