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
ffe53258
Commit
ffe53258
authored
Jun 27, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jun 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some -Wstrict-prototypes warnings.
parent
a1deba5a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
time.c
dlls/msvcrt/tests/time.c
+1
-1
path.c
dlls/ntdll/tests/path.c
+1
-1
string.c
dlls/ntdll/tests/string.c
+1
-1
olepicture.c
dlls/oleaut32/tests/olepicture.c
+2
-2
string.c
dlls/shlwapi/tests/string.c
+1
-1
url.c
dlls/urlmon/tests/url.c
+1
-1
menu.c
dlls/user/tests/menu.c
+2
-2
start.c
programs/start/start.c
+2
-2
No files found.
dlls/msvcrt/tests/time.c
View file @
ffe53258
...
@@ -146,7 +146,7 @@ static void test_mktime(void)
...
@@ -146,7 +146,7 @@ static void test_mktime(void)
ok
(((
DWORD
)
nulltime
==
SECSPERDAY
),
"mktime returned 0x%08lx
\n
"
,(
DWORD
)
nulltime
);
ok
(((
DWORD
)
nulltime
==
SECSPERDAY
),
"mktime returned 0x%08lx
\n
"
,(
DWORD
)
nulltime
);
putenv
(
TZ_env
);
putenv
(
TZ_env
);
}
}
static
void
test_localtime
()
static
void
test_localtime
(
void
)
{
{
TIME_ZONE_INFORMATION
tzinfo
;
TIME_ZONE_INFORMATION
tzinfo
;
DWORD
res
=
GetTimeZoneInformation
(
&
tzinfo
);
DWORD
res
=
GetTimeZoneInformation
(
&
tzinfo
);
...
...
dlls/ntdll/tests/path.c
View file @
ffe53258
...
@@ -219,7 +219,7 @@ static void test_RtlIsNameLegalDOS8Dot3(void)
...
@@ -219,7 +219,7 @@ static void test_RtlIsNameLegalDOS8Dot3(void)
}
}
}
}
}
}
static
void
test_RtlGetFullPathName_U
()
static
void
test_RtlGetFullPathName_U
(
void
)
{
{
struct
test
struct
test
{
{
...
...
dlls/ntdll/tests/string.c
View file @
ffe53258
...
@@ -55,7 +55,7 @@ static long (WINAPIV *pwcstol)(LPCWSTR, LPWSTR *, INT);
...
@@ -55,7 +55,7 @@ static long (WINAPIV *pwcstol)(LPCWSTR, LPWSTR *, INT);
static
ULONG
(
WINAPIV
*
pwcstoul
)(
LPCWSTR
,
LPWSTR
*
,
INT
);
static
ULONG
(
WINAPIV
*
pwcstoul
)(
LPCWSTR
,
LPWSTR
*
,
INT
);
static
void
InitFunctionPtrs
()
static
void
InitFunctionPtrs
(
void
)
{
{
hntdll
=
LoadLibraryA
(
"ntdll.dll"
);
hntdll
=
LoadLibraryA
(
"ntdll.dll"
);
ok
(
hntdll
!=
0
,
"LoadLibrary failed
\n
"
);
ok
(
hntdll
!=
0
,
"LoadLibrary failed
\n
"
);
...
...
dlls/oleaut32/tests/olepicture.c
View file @
ffe53258
...
@@ -198,7 +198,7 @@ test_pic(const unsigned char *imgdata, unsigned int imgsize)
...
@@ -198,7 +198,7 @@ test_pic(const unsigned char *imgdata, unsigned int imgsize)
ok
(
res
==
0
,
"refcount after release is %ld, but should be 1?
\n
"
,
res
);
ok
(
res
==
0
,
"refcount after release is %ld, but should be 1?
\n
"
,
res
);
}
}
static
void
test_empty_image
()
{
static
void
test_empty_image
(
void
)
{
LPBYTE
data
;
LPBYTE
data
;
LPSTREAM
stream
;
LPSTREAM
stream
;
IPicture
*
pic
=
NULL
;
IPicture
*
pic
=
NULL
;
...
@@ -238,7 +238,7 @@ static void test_empty_image() {
...
@@ -238,7 +238,7 @@ static void test_empty_image() {
IPicture_Release
(
pic
);
IPicture_Release
(
pic
);
}
}
static
void
test_empty_image_2
()
{
static
void
test_empty_image_2
(
void
)
{
LPBYTE
data
;
LPBYTE
data
;
LPSTREAM
stream
;
LPSTREAM
stream
;
IPicture
*
pic
=
NULL
;
IPicture
*
pic
=
NULL
;
...
...
dlls/shlwapi/tests/string.c
View file @
ffe53258
...
@@ -457,7 +457,7 @@ static void test_StrToIntExW(void)
...
@@ -457,7 +457,7 @@ static void test_StrToIntExW(void)
}
}
}
}
static
void
test_StrDupA
()
static
void
test_StrDupA
(
void
)
{
{
LPSTR
lpszStr
;
LPSTR
lpszStr
;
const
StrFormatSizeResult
*
result
=
StrFormatSize_results
;
const
StrFormatSizeResult
*
result
=
StrFormatSize_results
;
...
...
dlls/urlmon/tests/url.c
View file @
ffe53258
...
@@ -186,7 +186,7 @@ static const IBindStatusCallbackVtbl statusclbVtbl = {
...
@@ -186,7 +186,7 @@ static const IBindStatusCallbackVtbl statusclbVtbl = {
statusclb_OnObjectAvailable
statusclb_OnObjectAvailable
};
};
static
IBindStatusCallback
*
statusclb_create
()
static
IBindStatusCallback
*
statusclb_create
(
void
)
{
{
statusclb
*
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
statusclb
));
statusclb
*
ret
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
statusclb
));
ret
->
lpVtbl
=
&
statusclbVtbl
;
ret
->
lpVtbl
=
&
statusclbVtbl
;
...
...
dlls/user/tests/menu.c
View file @
ffe53258
...
@@ -127,7 +127,7 @@ static void register_menu_check_class(void)
...
@@ -127,7 +127,7 @@ static void register_menu_check_class(void)
/* demonstrates that windows lock the menu object so that it is still valid
/* demonstrates that windows lock the menu object so that it is still valid
* even after a client calls DestroyMenu on it */
* even after a client calls DestroyMenu on it */
static
void
test_menu_locked_by_window
()
static
void
test_menu_locked_by_window
(
void
)
{
{
BOOL
ret
;
BOOL
ret
;
HMENU
hmenu
;
HMENU
hmenu
;
...
@@ -161,7 +161,7 @@ static void test_menu_locked_by_window()
...
@@ -161,7 +161,7 @@ static void test_menu_locked_by_window()
DestroyWindow
(
hwnd
);
DestroyWindow
(
hwnd
);
}
}
static
void
test_menu_ownerdraw
()
static
void
test_menu_ownerdraw
(
void
)
{
{
int
i
,
j
,
k
;
int
i
,
j
,
k
;
BOOL
ret
;
BOOL
ret
;
...
...
programs/start/start.c
View file @
ffe53258
...
@@ -91,12 +91,12 @@ static void fatal_string(int which)
...
@@ -91,12 +91,12 @@ static void fatal_string(int which)
ExitProcess
(
1
);
ExitProcess
(
1
);
}
}
static
void
usage
()
static
void
usage
(
void
)
{
{
fatal_string
(
STRING_USAGE
);
fatal_string
(
STRING_USAGE
);
}
}
static
void
license
()
static
void
license
(
void
)
{
{
fatal_string
(
STRING_LICENSE
);
fatal_string
(
STRING_LICENSE
);
}
}
...
...
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