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
81b181fe
Commit
81b181fe
authored
Oct 28, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Use BOOL type where appropriate.
parent
ec1888b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
error.c
dlls/ntdll/tests/error.c
+3
-3
info.c
dlls/ntdll/tests/info.c
+1
-1
time.c
dlls/ntdll/tests/time.c
+2
-2
No files found.
dlls/ntdll/tests/error.c
View file @
81b181fe
...
...
@@ -50,7 +50,7 @@
static
ULONG
(
WINAPI
*
pRtlNtStatusToDosError
)(
NTSTATUS
Status
);
static
int
strict
;
static
int
prepare_test
(
void
)
static
BOOL
prepare_test
(
void
)
{
HMODULE
ntdll
;
int
argc
;
...
...
@@ -61,12 +61,12 @@ static int prepare_test(void)
if
(
!
pRtlNtStatusToDosError
)
{
win_skip
(
"RtlNtStatusToDosError is not available
\n
"
);
return
0
;
return
FALSE
;
}
argc
=
winetest_get_mainargs
(
&
argv
);
strict
=
(
argc
>=
3
&&
strcmp
(
argv
[
2
],
"strict"
)
==
0
);
return
1
;
return
TRUE
;
}
static
void
cmp_call
(
NTSTATUS
win_nt
,
ULONG
win32
,
const
char
*
message
)
...
...
dlls/ntdll/tests/info.c
View file @
81b181fe
...
...
@@ -259,7 +259,7 @@ static void test_query_process(void)
DWORD
last_pid
;
ULONG
ReturnLength
;
int
i
=
0
,
k
=
0
;
int
is_nt
=
0
;
BOOL
is_nt
=
FALSE
;
SYSTEM_BASIC_INFORMATION
sbi
;
/* Copy of our winternl.h structure turned into a private one */
...
...
dlls/ntdll/tests/time.c
View file @
81b181fe
...
...
@@ -33,9 +33,9 @@ static const int MonthLengths[2][12] =
{
31
,
29
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
}
};
static
inline
int
IsLeapYear
(
int
Year
)
static
inline
BOOL
IsLeapYear
(
int
Year
)
{
return
Year
%
4
==
0
&&
(
Year
%
100
!=
0
||
Year
%
400
==
0
)
?
1
:
0
;
return
Year
%
4
==
0
&&
(
Year
%
100
!=
0
||
Year
%
400
==
0
)
;
}
/* start time of the tests */
...
...
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