Francois Gouget : gdi32: Make dibdrv_wgl{Describe, Set}PixelFormat() static.
Alexandre Julliard
julliard at winehq.org
Mon Oct 1 13:35:00 CDT 2012
Module: wine
Branch: master
Commit: f77605c76533caadefe50dc05b7143957623e1e3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f77605c76533caadefe50dc05b7143957623e1e3
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Sep 29 18:02:40 2012 +0200
gdi32: Make dibdrv_wgl{Describe,Set}PixelFormat() static.
---
dlls/gdi32/dibdrv/opengl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/dibdrv/opengl.c b/dlls/gdi32/dibdrv/opengl.c
index 740dc50..a6b83f0 100644
--- a/dlls/gdi32/dibdrv/opengl.c
+++ b/dlls/gdi32/dibdrv/opengl.c
@@ -139,7 +139,7 @@ failed:
/**********************************************************************
* 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]);
@@ -289,7 +289,7 @@ static BOOL dibdrv_wglMakeCurrent( HDC hdc, struct wgl_context *context )
/**********************************************************************
* 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;
return GdiSetPixelFormat( hdc, fmt, descr );
More information about the wine-cvs
mailing list