Magnus Lundborg : x11drv: Declared two functions as static to avoid compiler warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 7 07:48:47 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 2b5b86fb9cba90c9d5bf411d5eb93b184d412532
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=2b5b86fb9cba90c9d5bf411d5eb93b184d412532

Author: Magnus Lundborg <magnus.lundborg.6955 at student.uu.se>
Date:   Tue Jun  6 00:31:58 2006 +0200

x11drv: Declared two functions as static to avoid compiler warnings.

---

 dlls/x11drv/xvidmode.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/x11drv/xvidmode.c b/dlls/x11drv/xvidmode.c
index 208f952..46c7e68 100644
--- a/dlls/x11drv/xvidmode.c
+++ b/dlls/x11drv/xvidmode.c
@@ -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-cvs mailing list