Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
480054b6
Commit
480054b6
authored
May 09, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
May 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mspatcha/tests: Make functions static.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1b7ed451
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
apply_patch.c
dlls/mspatcha/tests/apply_patch.c
+3
-3
No files found.
dlls/mspatcha/tests/apply_patch.c
View file @
480054b6
...
@@ -319,7 +319,7 @@ static BOOL CALLBACK progress_cancel(void *context, ULONG current, ULONG max)
...
@@ -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 *
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment