xvidmode.c: Static declared functions to avoid warnings
Magnus Lundborg
magnus.lundborg.6955 at student.uu.se
Mon Jun 5 17:31:58 CDT 2006
Very small change consisting of two functions declared static to avoid
warnings.
-------------- next part --------------
2006-06-05 Magnus Lundborg <magnus.lundborg.6955 at student.uu.se>
* dlls/x11drv/xvidmode.c:
Declared two functions as static to avoid compiler warnings.
-------------- next part --------------
? patch.diff
Index: dlls/x11drv/xvidmode.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xvidmode.c,v
retrieving revision 1.34
diff -u -u -p -r1.34 xvidmode.c
--- dlls/x11drv/xvidmode.c 23 May 2006 12:49:02 -0000 1.34
+++ dlls/x11drv/xvidmode.c 5 Jun 2006 22:26:58 -0000
@@ -89,7 +89,7 @@ static int XVidModeErrorHandler(Display
return 1;
}
-int X11DRV_XF86VM_GetCurrentMode(void)
+static int X11DRV_XF86VM_GetCurrentMode(void)
{
XF86VidModeModeLine line;
int dotclock;
@@ -112,7 +112,7 @@ int X11DRV_XF86VM_GetCurrentMode(void)
return 0;
}
-void X11DRV_XF86VM_SetCurrentMode(int mode)
+static void X11DRV_XF86VM_SetCurrentMode(int mode)
{
DWORD dwBpp = screen_depth;
if (dwBpp == 24) dwBpp = 32;
More information about the wine-patches
mailing list