gameux/tests: Make test_install_uninstall_game() and _isFileExists() static.
Francois Gouget
fgouget at free.fr
Tue Sep 28 13:12:49 CDT 2010
---
dlls/gameux/tests/gameexplorer.c | 3 ++-
dlls/gameux/tests/gamestatistics.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/gameux/tests/gameexplorer.c b/dlls/gameux/tests/gameexplorer.c
index 97ad41b..e078172 100644
--- a/dlls/gameux/tests/gameexplorer.c
+++ b/dlls/gameux/tests/gameexplorer.c
@@ -607,7 +607,8 @@ static void test_add_remove_game(void)
IGameExplorer_Release(ge);
}
}
-void test_install_uninstall_game(void)
+
+static void test_install_uninstall_game(void)
{
static const GUID applicationId = { 0x17A6558E, 0x60BE, 0x4078,
{ 0xB6, 0x6F, 0x9C, 0x3A, 0xDA, 0x2A, 0x32, 0xE6 }};
diff --git a/dlls/gameux/tests/gamestatistics.c b/dlls/gameux/tests/gamestatistics.c
index 29bfcf3..eac4398 100644
--- a/dlls/gameux/tests/gamestatistics.c
+++ b/dlls/gameux/tests/gamestatistics.c
@@ -168,7 +168,7 @@ static HRESULT _buildStatisticsFilePath(LPCGUID guidApplicationId, LPWSTR *lpSta
* TRUE file exists
* FALSE file does not exist
*/
-BOOL _isFileExists(LPCWSTR lpFile)
+static BOOL _isFileExists(LPCWSTR lpFile)
{
HANDLE hFile = CreateFileW(lpFile, GENERIC_READ, 0, NULL,
OPEN_EXISTING, 0, NULL);
--
1.7.1
More information about the wine-patches
mailing list