d3dcompiler_43: Make add_type_to_scope() static.

Francois Gouget fgouget at free.fr
Wed Sep 19 13:12:17 CDT 2012


---
 dlls/d3dcompiler_43/hlsl.y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
index 75b5741..6fd9af5 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -175,7 +175,7 @@ static BOOL declare_variable(struct hlsl_ir_var *decl, BOOL local)
 
 static DWORD add_modifier(DWORD modifiers, DWORD mod, const struct YYLTYPE *loc);
 
-BOOL add_type_to_scope(struct hlsl_scope *scope, struct hlsl_type *def)
+static BOOL add_type_to_scope(struct hlsl_scope *scope, struct hlsl_type *def)
 {
     if (get_type(scope, def->name, FALSE))
         return FALSE;
-- 
1.7.10.4




More information about the wine-patches mailing list