[PATCH 3/3] d3dx9_36: Make variables static in xfile tests.
Christian Costa
titan.costa at gmail.com
Fri Jan 18 01:49:25 CST 2013
---
dlls/d3dx9_36/tests/xfile.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/d3dx9_36/tests/xfile.c b/dlls/d3dx9_36/tests/xfile.c
index 6c29f5e..747fcadf 100644
--- a/dlls/d3dx9_36/tests/xfile.c
+++ b/dlls/d3dx9_36/tests/xfile.c
@@ -20,23 +20,23 @@
#include "d3dx9.h"
#include "d3dx9xof.h"
-char templates_bad_file_type1[] =
+static char templates_bad_file_type1[] =
"xOf 0302txt 0064\n";
-char templates_bad_file_version[] =
+static char templates_bad_file_version[] =
"xof 0102txt 0064\n";
-char templates_bad_file_type2[] =
+static char templates_bad_file_type2[] =
"xof 0302foo 0064\n";
-char templates_bad_file_float_size[] =
+static char templates_bad_file_float_size[] =
"xof 0302txt 0050\n";
-char templates_parse_error[] =
+static char templates_parse_error[] =
"xof 0302txt 0064"
"foobar;\n";
-char templates[] =
+static char templates[] =
"xof 0302txt 0064"
"template Header"
"{"
@@ -80,7 +80,7 @@ static void test_templates(void)
todo_wine ok(ret == D3DXFERR_PARSEERROR, "RegisterTemplates returned %#x, expected %#x\n", ret, D3DXFERR_PARSEERROR);
ret = d3dxfile->lpVtbl->RegisterTemplates(d3dxfile, (const void *)templates, (SIZE_T)(sizeof(templates) - 1));
- ok(ret == S_OK, "RegisterTemplates with %#x\n", ret);
+ ok(ret == S_OK, "RegisterTemplates failed with %#x\n", ret);
d3dxfile->lpVtbl->Release(d3dxfile);
}
More information about the wine-patches
mailing list