Alexandre Julliard : ddraw: Make some functions static.

Alexandre Julliard julliard at winehq.org
Tue Dec 2 11:02:08 CST 2008


Module: wine
Branch: master
Commit: 23abbcb9b3eb72a7f1eae6e48162d222269340ce
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=23abbcb9b3eb72a7f1eae6e48162d222269340ce

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec  2 15:27:08 2008 +0100

ddraw: Make some functions static.

---

 dlls/ddraw/ddraw_private.h |    1 -
 dlls/ddraw/utils.c         |    5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h
index 7a5eadb..fe2e20d 100644
--- a/dlls/ddraw/ddraw_private.h
+++ b/dlls/ddraw/ddraw_private.h
@@ -633,7 +633,6 @@ const IDirect3DVertexBufferVtbl IDirect3DVertexBuffer1_Vtbl;
 void PixelFormat_WineD3DtoDD(DDPIXELFORMAT *DDPixelFormat, WINED3DFORMAT WineD3DFormat);
 WINED3DFORMAT PixelFormat_DD2WineD3D(const DDPIXELFORMAT *DDPixelFormat);
 void DDRAW_dump_surface_desc(const DDSURFACEDESC2 *lpddsd);
-void DDRAW_dump_pixelformat(const DDPIXELFORMAT *PixelFormat);
 void dump_D3DMATRIX(const D3DMATRIX *mat);
 void DDRAW_dump_DDCAPS(const DDCAPS *lpcaps);
 DWORD get_flexible_vertex_size(DWORD d3dvtVertexType);
diff --git a/dlls/ddraw/utils.c b/dlls/ddraw/utils.c
index b07ebd8..e3dadce 100644
--- a/dlls/ddraw/utils.c
+++ b/dlls/ddraw/utils.c
@@ -30,6 +30,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(ddraw);
 
+static void DDRAW_dump_pixelformat(const DDPIXELFORMAT *pf);
 
 /*****************************************************************************
  * PixelFormat_WineD3DtoDD
@@ -724,7 +725,7 @@ void DDRAW_dump_DDSCAPS2(const DDSCAPS2 *in)
     DDRAW_dump_flags(in->dwCaps2, flags2, sizeof(flags2)/sizeof(flags2[0]));
 }
 
-void
+static void
 DDRAW_dump_DDSCAPS(const DDSCAPS *in)
 {
     DDSCAPS2 in_bis;
@@ -779,7 +780,7 @@ DDRAW_dump_members(DWORD flags,
     }
 }
 
-void
+static void
 DDRAW_dump_pixelformat(const DDPIXELFORMAT *pf)
 {
     TRACE("( ");




More information about the wine-cvs mailing list