[PATCH 2/2] mspatcha/tests: Make functions static

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu May 9 18:54:55 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/mspatcha/tests/apply_patch.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/mspatcha/tests/apply_patch.c b/dlls/mspatcha/tests/apply_patch.c
index 0e0409e..dae09c3 100644
--- a/dlls/mspatcha/tests/apply_patch.c
+++ b/dlls/mspatcha/tests/apply_patch.c
@@ -319,7 +319,7 @@ static BOOL CALLBACK progress_cancel(void *context, ULONG current, ULONG max)
     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;
     DWORD written;
@@ -334,14 +334,14 @@ BOOL create_temp_file(const BYTE *buf, size_t size, const char *temppath, char *
     return b && written == size;
 }
 
-void delete_test_files(void)
+static void delete_test_files(void)
 {
     size_t i;
     for (i = 0; test_files[i].buf != NULL; ++i)
         DeleteFileA(test_files[i].name);
 }
 
-BOOL setup_test_files(void)
+static BOOL setup_test_files(void)
 {
     char temppath[MAX_PATH];
     size_t i;
-- 
1.9.1



More information about the wine-devel mailing list