Francois Gouget : d3dcompiler_43: Make asmshader_error() and set_rel_reg() static.
Alexandre Julliard
julliard at winehq.org
Mon Sep 13 17:14:43 CDT 2010
Module: wine
Branch: master
Commit: 7d9cd71db77959a2d8734cecfc71cc503df40681
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d9cd71db77959a2d8734cecfc71cc503df40681
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Sep 13 10:45:39 2010 +0200
d3dcompiler_43: Make asmshader_error() and set_rel_reg() static.
---
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;
More information about the wine-cvs
mailing list