d3dcompiler_43: Make add_type_to_scope() static.

This commit is contained in:
Francois Gouget 2012-09-19 20:12:17 +02:00 committed by Alexandre Julliard
parent d75a4ba17f
commit e4ca67f7aa

View File

@ -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;