wined3d: Make debug{fixup_channel_source,yuv_fixup}() static.

Francois Gouget fgouget at free.fr
Tue Feb 17 11:54:43 CST 2009


---

Maybe these are commonly called from other files. But it seemed like 
it's more dump_color_fixup_desc() that would get called from other 
files. I might be wrong though.


 dlls/wined3d/utils.c           |    4 ++--
 dlls/wined3d/wined3d_private.h |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 7937b86..4ba499d 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1171,7 +1171,7 @@ const char *debug_d3ddegree(WINED3DDEGREETYPE degree) {
     }
 }
 
-const char *debug_fixup_channel_source(enum fixup_channel_source source)
+static const char *debug_fixup_channel_source(enum fixup_channel_source source)
 {
     switch(source)
     {
@@ -1191,7 +1191,7 @@ const char *debug_fixup_channel_source(enum fixup_channel_source source)
     }
 }
 
-const char *debug_yuv_fixup(enum yuv_fixup yuv_fixup)
+static const char *debug_yuv_fixup(enum yuv_fixup yuv_fixup)
 {
     switch(yuv_fixup)
     {
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 6ccd22a..91f2f50 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2048,8 +2048,6 @@ const char *debug_glerror(GLenum error);
 const char *debug_d3dbasis(WINED3DBASISTYPE basis);
 const char *debug_d3ddegree(WINED3DDEGREETYPE order);
 const char* debug_d3dtop(WINED3DTEXTUREOP d3dtop);
-const char *debug_fixup_channel_source(enum fixup_channel_source source);
-const char *debug_yuv_fixup(enum yuv_fixup yuv_fixup);
 void dump_color_fixup_desc(struct color_fixup_desc fixup);
 const char *debug_surflocation(DWORD flag);
 
-- 
1.5.6.5




More information about the wine-patches mailing list