Module: wine Branch: master Commit: b0a339707f4047840c47bee51e7801a317010ae2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0a339707f4047840c47bee51e...
Author: Francois Gouget fgouget@free.fr Date: Fri Jun 8 15:12:46 2012 +0200
d3dcompiler_43: Make debug_{base,node}_type() static.
---
dlls/d3dcompiler_43/d3dcompiler_private.h | 1 - dlls/d3dcompiler_43/utils.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dcompiler_43/d3dcompiler_private.h b/dlls/d3dcompiler_43/d3dcompiler_private.h index 9f7fce1..5e5f1d3 100644 --- a/dlls/d3dcompiler_43/d3dcompiler_private.h +++ b/dlls/d3dcompiler_43/d3dcompiler_private.h @@ -834,7 +834,6 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx) DECLSPEC_HIDDEN; struct bwriter_shader *parse_hlsl_shader(const char *text, enum shader_type type, DWORD version, const char *entrypoint, char **messages) DECLSPEC_HIDDEN;
-const char *debug_base_type(const struct hlsl_type *type) DECLSPEC_HIDDEN; const char *debug_hlsl_type(const struct hlsl_type *type) DECLSPEC_HIDDEN; const char *debug_modifiers(DWORD modifiers) DECLSPEC_HIDDEN; void free_hlsl_type(struct hlsl_type *type) DECLSPEC_HIDDEN; diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c index c890fd8..304f70c 100644 --- a/dlls/d3dcompiler_43/utils.c +++ b/dlls/d3dcompiler_43/utils.c @@ -886,7 +886,7 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx) return TRUE; }
-const char *debug_base_type(const struct hlsl_type *type) +static const char *debug_base_type(const struct hlsl_type *type) { const char *name = "(unknown)";
@@ -961,7 +961,7 @@ const char *debug_modifiers(DWORD modifiers) return wine_dbg_sprintf("%s", string[0] ? string + 1 : ""); }
-const char *debug_node_type(enum hlsl_ir_node_type type) +static const char *debug_node_type(enum hlsl_ir_node_type type) { const char *names[] = {