Commit b0a33970 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

d3dcompiler_43: Make debug_{base,node}_type() static.

parent 42e77c84
...@@ -834,7 +834,6 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx) DECLSPEC_HIDDEN; ...@@ -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, struct bwriter_shader *parse_hlsl_shader(const char *text, enum shader_type type, DWORD version,
const char *entrypoint, char **messages) DECLSPEC_HIDDEN; 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_hlsl_type(const struct hlsl_type *type) DECLSPEC_HIDDEN;
const char *debug_modifiers(DWORD modifiers) DECLSPEC_HIDDEN; const char *debug_modifiers(DWORD modifiers) DECLSPEC_HIDDEN;
void free_hlsl_type(struct hlsl_type *type) DECLSPEC_HIDDEN; void free_hlsl_type(struct hlsl_type *type) DECLSPEC_HIDDEN;
......
...@@ -886,7 +886,7 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx) ...@@ -886,7 +886,7 @@ BOOL pop_scope(struct hlsl_parse_ctx *ctx)
return TRUE; 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)"; const char *name = "(unknown)";
...@@ -961,7 +961,7 @@ const char *debug_modifiers(DWORD modifiers) ...@@ -961,7 +961,7 @@ const char *debug_modifiers(DWORD modifiers)
return wine_dbg_sprintf("%s", string[0] ? string + 1 : ""); 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[] = const char *names[] =
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment