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

Francois Gouget fgouget at free.fr
Sat Sep 29 11:02:40 CDT 2012


---
 dlls/gdi32/dibdrv/opengl.c |    4 ++--
 1 file 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 );
-- 
1.7.10.4




More information about the wine-patches mailing list