gdi32: Make dibdrv_wgl{Describe,Set}PixelFormat() static.

This commit is contained in:
Francois Gouget 2012-09-29 18:02:40 +02:00 committed by Alexandre Julliard
parent 62d1957850
commit f77605c765
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ failed:
/********************************************************************** /**********************************************************************
* dibdrv_wglDescribePixelFormat * dibdrv_wglDescribePixelFormat
*/ */
int dibdrv_wglDescribePixelFormat( HDC hdc, int fmt, UINT size, PIXELFORMATDESCRIPTOR *descr ) static int dibdrv_wglDescribePixelFormat( HDC hdc, int fmt, UINT size, PIXELFORMATDESCRIPTOR *descr )
{ {
int ret = sizeof(pixel_formats) / sizeof(pixel_formats[0]); int ret = sizeof(pixel_formats) / sizeof(pixel_formats[0]);
@ -289,7 +289,7 @@ static BOOL dibdrv_wglMakeCurrent( HDC hdc, struct wgl_context *context )
/********************************************************************** /**********************************************************************
* dibdrv_wglSetPixelFormat * dibdrv_wglSetPixelFormat
*/ */
BOOL dibdrv_wglSetPixelFormat( HDC hdc, int fmt, const PIXELFORMATDESCRIPTOR *descr ) static BOOL dibdrv_wglSetPixelFormat( HDC hdc, int fmt, const PIXELFORMATDESCRIPTOR *descr )
{ {
if (fmt <= 0 || fmt > nb_formats) return FALSE; if (fmt <= 0 || fmt > nb_formats) return FALSE;
return GdiSetPixelFormat( hdc, fmt, descr ); return GdiSetPixelFormat( hdc, fmt, descr );