x11drv: Declared two functions as static to avoid compiler warnings.
This commit is contained in:
parent
dbd566d545
commit
2b5b86fb9c
|
@ -89,7 +89,7 @@ static int XVidModeErrorHandler(Display *dpy, XErrorEvent *event, void *arg)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int X11DRV_XF86VM_GetCurrentMode(void)
|
static int X11DRV_XF86VM_GetCurrentMode(void)
|
||||||
{
|
{
|
||||||
XF86VidModeModeLine line;
|
XF86VidModeModeLine line;
|
||||||
int dotclock;
|
int dotclock;
|
||||||
|
@ -112,7 +112,7 @@ int X11DRV_XF86VM_GetCurrentMode(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void X11DRV_XF86VM_SetCurrentMode(int mode)
|
static void X11DRV_XF86VM_SetCurrentMode(int mode)
|
||||||
{
|
{
|
||||||
DWORD dwBpp = screen_depth;
|
DWORD dwBpp = screen_depth;
|
||||||
if (dwBpp == 24) dwBpp = 32;
|
if (dwBpp == 24) dwBpp = 32;
|
||||||
|
|
Loading…
Reference in New Issue