Christian Costa : d3dx9_36: Make variables static in xfile tests.
Alexandre Julliard
julliard at winehq.org
Fri Jan 18 12:07:35 CST 2013
Module: wine
Branch: master
Commit: 64a88a2d837b2f99dbf25acd27b7b6656a7e11e6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=64a88a2d837b2f99dbf25acd27b7b6656a7e11e6
Author: Christian Costa <titan.costa at gmail.com>
Date: Fri Jan 18 08:49:25 2013 +0100
d3dx9_36: Make variables static in xfile tests.
---
dlls/d3dx9_36/tests/xfile.c | 14 +++++++-------
1 files 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-cvs
mailing list