[2/2] d3dcompiler_43: Make asmshader_error() and set_rel_reg() static.
Francois Gouget
fgouget at free.fr
Mon Sep 13 03:45:39 CDT 2010
---
dlls/d3dcompiler_43/asmshader.y | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dcompiler_43/asmshader.y b/dlls/d3dcompiler_43/asmshader.y
index db83ec3..5dc0914 100644
--- a/dlls/d3dcompiler_43/asmshader.y
+++ b/dlls/d3dcompiler_43/asmshader.y
@@ -71,12 +71,12 @@ void asmparser_message(struct asm_parser *ctx, const char *fmt, ...) {
}
}
-void asmshader_error(char const *s) {
+static void asmshader_error(char const *s) {
asmparser_message(&asm_ctx, "Line %u: Error \"%s\" from bison\n", asm_ctx.line_no, s);
set_parse_status(&asm_ctx, PARSE_ERR);
}
-void set_rel_reg(struct shader_reg *reg, struct rel_reg *rel) {
+static void set_rel_reg(struct shader_reg *reg, struct rel_reg *rel) {
/* We can have an additional offset without true relative addressing
* ex. c2[ 4 ] */
reg->regnum += rel->additional_offset;
--
1.7.1
More information about the wine-patches
mailing list