mspatcha/tests: Make functions static.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-05-09 23:54:55 +00:00 committed by Alexandre Julliard
parent 1b7ed451e0
commit 480054b619
1 changed files with 3 additions and 3 deletions

View File

@ -319,7 +319,7 @@ static BOOL CALLBACK progress_cancel(void *context, ULONG current, ULONG max)
return FALSE; return FALSE;
} }
BOOL create_temp_file(const BYTE *buf, size_t size, const char *temppath, char *tempname) static BOOL create_temp_file(const BYTE *buf, size_t size, const char *temppath, char *tempname)
{ {
HANDLE hndl; HANDLE hndl;
DWORD written; DWORD written;
@ -334,14 +334,14 @@ BOOL create_temp_file(const BYTE *buf, size_t size, const char *temppath, char *
return b && written == size; return b && written == size;
} }
void delete_test_files(void) static void delete_test_files(void)
{ {
size_t i; size_t i;
for (i = 0; test_files[i].buf != NULL; ++i) for (i = 0; test_files[i].buf != NULL; ++i)
DeleteFileA(test_files[i].name); DeleteFileA(test_files[i].name);
} }
BOOL setup_test_files(void) static BOOL setup_test_files(void)
{ {
char temppath[MAX_PATH]; char temppath[MAX_PATH];
size_t i; size_t i;