[MPlayer-cvslog] r35767 - in trunk/gui/wm: ws.c ws.h

ib subversion at mplayerhq.hu
Thu Jan 17 17:51:50 CET 2013


Author: ib
Date: Thu Jan 17 17:51:50 2013
New Revision: 35767

Log:
Make functions static that only have file scope.

Modified:
   trunk/gui/wm/ws.c
   trunk/gui/wm/ws.h

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Thu Jan 17 17:49:26 2013	(r35766)
+++ trunk/gui/wm/ws.c	Thu Jan 17 17:51:50 2013	(r35767)
@@ -165,7 +165,7 @@ static void wsUpdateXineramaInfo(wsWindo
     }
 }
 
-int wsGetDepthOnScreen(void)
+static int wsGetDepthOnScreen(void)
 {
     int depth;
     XImage *mXImage;
@@ -209,7 +209,7 @@ int wsGetDepthOnScreen(void)
     return wsDepthOnScreen;
 }
 
-int wsGetOutMask(void)
+static int wsGetOutMask(void)
 {
     if ((wsDepthOnScreen == 32) && (wsRedMask == 0xff0000) && (wsGreenMask == 0x00ff00) && (wsBlueMask == 0x0000ff))
         return wsRGB32;

Modified: trunk/gui/wm/ws.h
==============================================================================
--- trunk/gui/wm/ws.h	Thu Jan 17 17:49:26 2013	(r35766)
+++ trunk/gui/wm/ws.h	Thu Jan 17 17:51:50 2013	(r35767)
@@ -178,8 +178,6 @@ void wsXDone(void);
 void wsXInit(Display *display);
 void wsSetErrorHandler(void);
 
-int wsGetDepthOnScreen(void);
-
 void wsAutohideCursor(void);
 void wsEvents(XEvent *event);
 void wsHandleEvents(void);
@@ -215,7 +213,6 @@ void wsConvert(wsWindow *win, unsigned c
 void wsPutImage(wsWindow *win);
 void wsResizeImage(wsWindow *win, int Width, int Height);
 void wsDestroyImage(wsWindow *win);
-int wsGetOutMask(void);
 
 #define wgIsRect(X, Y, tX, tY, bX, bY) (((X) > (tX)) && ((Y) > (tY)) && ((X) < (bX)) && ((Y) < (bY)))
 


More information about the MPlayer-cvslog mailing list