Francois Gouget : d3dx9_36: Make error_dxfile_to_d3dxfile() and test_templates() static.

Alexandre Julliard julliard at winehq.org
Mon Jan 7 13:42:21 CST 2013


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jan  7 07:45:35 2013 +0100

d3dx9_36: Make error_dxfile_to_d3dxfile() and test_templates() static.

---

 dlls/d3dx9_36/tests/xfile.c |    2 +-
 dlls/d3dx9_36/xfile.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/tests/xfile.c b/dlls/d3dx9_36/tests/xfile.c
index 08a2ae1..3ab30a9 100644
--- a/dlls/d3dx9_36/tests/xfile.c
+++ b/dlls/d3dx9_36/tests/xfile.c
@@ -47,7 +47,7 @@ char templates[] =
 "}\n";
 
 
-void test_templates(void)
+static void test_templates(void)
 {
     ID3DXFile *d3dxfile;
     HRESULT ret;
diff --git a/dlls/d3dx9_36/xfile.c b/dlls/d3dx9_36/xfile.c
index 5d4d6aa..6c9403e 100644
--- a/dlls/d3dx9_36/xfile.c
+++ b/dlls/d3dx9_36/xfile.c
@@ -26,7 +26,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
 
-HRESULT error_dxfile_to_d3dxfile(HRESULT error)
+static HRESULT error_dxfile_to_d3dxfile(HRESULT error)
 {
     switch (error)
     {




More information about the wine-cvs mailing list