Module: wine Branch: master Commit: 0c7c1de8d77c8db6f5f6fb2da207b9954e9bb127 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c7c1de8d77c8db6f5f6fb2da2...
Author: Francois Gouget fgouget@free.fr Date: Tue Sep 28 20:12:49 2010 +0200
gameux/tests: Make test_install_uninstall_game() and _isFileExists() static.
---
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 9ce0e39..ba22256 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);