Francois Gouget : d3dcompiler_43: Make add_type_to_scope() static.

Alexandre Julliard julliard at winehq.org
Thu Sep 20 15:05:36 CDT 2012


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Sep 19 20:12:17 2012 +0200

d3dcompiler_43: Make add_type_to_scope() static.

---

 dlls/d3dcompiler_43/hlsl.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
index 5670586..eea49be 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -186,7 +186,7 @@ static BOOL check_type_modifiers(DWORD modifiers, struct source_location *loc)
     return TRUE;
 }
 
-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;




More information about the wine-cvs mailing list