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
863a4b14
Commit
863a4b14
authored
Jun 21, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jun 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some more -Wstrict-prototypes warnings.
parent
443ad4d3
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
29 additions
and
29 deletions
+29
-29
subclass.c
dlls/comctl32/tests/subclass.c
+2
-2
dinput_test.h
dlls/dinput/tests/dinput_test.h
+1
-1
mouse.c
dlls/dinput/tests/mouse.c
+1
-1
capture.c
dlls/dsound/tests/capture.c
+2
-2
metafile.c
dlls/gdi/tests/metafile.c
+2
-2
msacm.c
dlls/msacm/tests/msacm.c
+1
-1
mscms_main.c
dlls/mscms/mscms_main.c
+2
-2
time.c
dlls/msvcrt/tests/time.c
+2
-2
oleobj.c
dlls/ole32/oleobj.c
+2
-2
moniker.c
dlls/ole32/tests/moniker.c
+2
-2
typelib.c
dlls/oleaut32/typelib.c
+1
-1
editor.c
dlls/riched20/editor.c
+1
-1
editor.h
dlls/riched20/editor.h
+1
-1
path.c
dlls/shlwapi/path.c
+1
-1
ordinal.c
dlls/shlwapi/tests/ordinal.c
+1
-1
urlmon_main.h
dlls/urlmon/urlmon_main.h
+2
-2
static.c
dlls/user/static.c
+1
-1
msg.c
dlls/user/tests/msg.c
+1
-1
system.c
dlls/uxtheme/system.c
+1
-1
devices.c
dlls/winedos/devices.c
+1
-1
capture.c
dlls/winmm/tests/capture.c
+1
-1
No files found.
dlls/comctl32/tests/subclass.c
View file @
863a4b14
...
...
@@ -134,7 +134,7 @@ static void add_message(const struct message *msg)
sequence_cnt
++
;
}
static
void
flush_sequence
()
static
void
flush_sequence
(
void
)
{
HeapFree
(
GetProcessHeap
(),
0
,
sequence
);
sequence
=
0
;
...
...
@@ -215,7 +215,7 @@ static LRESULT WINAPI WndProcSub(HWND hwnd, UINT message, WPARAM wParam, LPARAM
return
pDefSubclassProc
(
hwnd
,
message
,
wParam
,
lParam
);
}
static
void
test_subclass
()
static
void
test_subclass
(
void
)
{
HWND
hwnd
=
CreateWindowExA
(
0
,
"TestSubclass"
,
"Test subclass"
,
WS_OVERLAPPEDWINDOW
,
100
,
100
,
200
,
200
,
0
,
0
,
0
,
NULL
);
...
...
dlls/dinput/tests/dinput_test.h
View file @
863a4b14
...
...
@@ -16,5 +16,5 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
extern
HWND
get_hwnd
();
extern
HWND
get_hwnd
(
void
);
extern
const
char
*
get_file_version
(
const
char
*
file_name
);
dlls/dinput/tests/mouse.c
View file @
863a4b14
...
...
@@ -33,7 +33,7 @@
#include "dxerr8.h"
#include "dinput_test.h"
static
void
mouse_tests
()
static
void
mouse_tests
(
void
)
{
}
...
...
dlls/dsound/tests/capture.c
View file @
863a4b14
...
...
@@ -186,7 +186,7 @@ EXIT:
"should have 0
\n
"
,
ref
);
}
static
void
IDirectSoundCapture_tests
()
static
void
IDirectSoundCapture_tests
(
void
)
{
HRESULT
rc
;
LPDIRECTSOUNDCAPTURE
dsco
=
NULL
;
...
...
@@ -682,7 +682,7 @@ EXIT:
return
TRUE
;
}
static
void
capture_tests
()
static
void
capture_tests
(
void
)
{
HRESULT
rc
;
rc
=
pDirectSoundCaptureEnumerateA
(
&
dscenum_callback
,
NULL
);
...
...
dlls/gdi/tests/metafile.c
View file @
863a4b14
...
...
@@ -358,7 +358,7 @@ static void test_mf_Blank(void)
/* Simple APIs from mfdrv/graphics.c
*/
static
void
test_mf_Graphics
()
static
void
test_mf_Graphics
(
void
)
{
HDC
hdcMetafile
;
HMETAFILE
hMetafile
;
...
...
@@ -516,7 +516,7 @@ static HENHMETAFILE create_converted_emf(const METAFILEPICT *mfp)
return
SetWinMetaFileBits
(
size
,
pBits
,
NULL
,
mfp
);
}
static
void
test_mf_conversions
()
static
void
test_mf_conversions
(
void
)
{
trace
(
"Testing MF->EMF conversion (MM_ANISOTROPIC)
\n
"
);
{
...
...
dlls/msacm/tests/msacm.c
View file @
863a4b14
...
...
@@ -398,7 +398,7 @@ static DWORD check_count(UINT uMetric)
return
dwMetric
;
}
static
void
msacm_tests
()
static
void
msacm_tests
(
void
)
{
MMRESULT
rc
;
DWORD
dwCount
;
...
...
dlls/mscms/mscms_main.c
View file @
863a4b14
...
...
@@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mscms);
static
void
*
lcmshandle
=
NULL
;
#endif
/* HAVE_LCMS_H */
static
BOOL
MSCMS_init_lcms
()
static
BOOL
MSCMS_init_lcms
(
void
)
{
#ifdef HAVE_LCMS_H
/* dynamically load lcms if not yet loaded */
...
...
@@ -107,7 +107,7 @@ sym_not_found:
return
TRUE
;
}
static
void
MSCMS_deinit_lcms
()
static
void
MSCMS_deinit_lcms
(
void
)
{
#ifdef HAVE_LCMS_H
if
(
lcmshandle
)
...
...
dlls/msvcrt/tests/time.c
View file @
863a4b14
...
...
@@ -31,7 +31,7 @@
#define MINSPERHOUR 60
#define HOURSPERDAY 24
static
void
test_gmtime
()
static
void
test_gmtime
(
void
)
{
time_t
gmt
=
(
time_t
)
NULL
;
struct
tm
*
gmt_tm
=
gmtime
(
&
gmt
);
...
...
@@ -48,7 +48,7 @@ static void test_gmtime()
gmt_tm
->
tm_hour
,
gmt_tm
->
tm_min
,
gmt_tm
->
tm_sec
,
gmt_tm
->
tm_isdst
);
}
static
void
test_mktime
()
static
void
test_mktime
(
void
)
{
TIME_ZONE_INFORMATION
tzinfo
;
DWORD
res
=
GetTimeZoneInformation
(
&
tzinfo
);
...
...
dlls/ole32/oleobj.c
View file @
863a4b14
...
...
@@ -323,7 +323,7 @@ static const IOleAdviseHolderVtbl oahvt =
* OleAdviseHolderImpl_Constructor
*/
static
LPOLEADVISEHOLDER
OleAdviseHolderImpl_Constructor
()
static
LPOLEADVISEHOLDER
OleAdviseHolderImpl_Constructor
(
void
)
{
OleAdviseHolderImpl
*
lpoah
;
DWORD
index
;
...
...
@@ -639,7 +639,7 @@ static const IDataAdviseHolderVtbl DataAdviseHolderImpl_VTable =
/******************************************************************************
* DataAdviseHolder_Constructor
*/
static
IDataAdviseHolder
*
DataAdviseHolder_Constructor
()
static
IDataAdviseHolder
*
DataAdviseHolder_Constructor
(
void
)
{
DataAdviseHolder
*
newHolder
;
...
...
dlls/ole32/tests/moniker.c
View file @
863a4b14
...
...
@@ -58,7 +58,7 @@ static int count_moniker_matches(IBindCtx * pbc, IEnumMoniker * spEM)
return
matchCnt
;
}
static
void
test_MkParseDisplayName
()
static
void
test_MkParseDisplayName
(
void
)
{
IBindCtx
*
pbc
=
NULL
;
HRESULT
hr
;
...
...
@@ -178,7 +178,7 @@ static const BYTE expected_moniker_data[] =
static
const
LARGE_INTEGER
llZero
;
static
void
test_class_moniker
()
static
void
test_class_moniker
(
void
)
{
IStream
*
stream
;
IMoniker
*
moniker
;
...
...
dlls/oleaut32/typelib.c
View file @
863a4b14
...
...
@@ -1328,7 +1328,7 @@ static TYPEDESC stndTypeDesc[VT_LPWSTR+1]=
{{
0
},
30
},{{
0
},
31
}
};
static
void
TLB_abort
()
static
void
TLB_abort
(
void
)
{
DebugBreak
();
}
...
...
dlls/riched20/editor.c
View file @
863a4b14
...
...
@@ -231,7 +231,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit);
int
me_debug
=
0
;
HANDLE
me_heap
=
NULL
;
ME_TextBuffer
*
ME_MakeText
()
{
ME_TextBuffer
*
ME_MakeText
(
void
)
{
ME_TextBuffer
*
buf
=
ALLOC_OBJ
(
ME_TextBuffer
);
...
...
dlls/riched20/editor.h
View file @
863a4b14
...
...
@@ -202,7 +202,7 @@ extern LRESULT CreateIRichEditOle(LPVOID *);
/* wintest.c */
/* editor.c */
void
ME_RegisterEditorClass
();
void
ME_RegisterEditorClass
(
HINSTANCE
hInstance
);
ME_TextEditor
*
ME_MakeEditor
(
HWND
hWnd
);
void
ME_DestroyEditor
(
ME_TextEditor
*
editor
);
void
ME_SendOldNotify
(
ME_TextEditor
*
editor
,
int
nCode
);
...
...
dlls/shlwapi/path.c
View file @
863a4b14
...
...
@@ -2979,7 +2979,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
*
* Internal helper for PathMakeSystemFolderW.
*/
static
BOOL
WINAPI
SHLWAPI_UseSystemForSystemFolders
()
static
BOOL
WINAPI
SHLWAPI_UseSystemForSystemFolders
(
void
)
{
static
BOOL
bCheckedReg
=
FALSE
;
static
BOOL
bUseSystemForSystemFolders
=
FALSE
;
...
...
dlls/shlwapi/tests/ordinal.c
View file @
863a4b14
...
...
@@ -198,7 +198,7 @@ static void test_SHSearchMapInt(void)
ok
(
i
==
values
[
0
],
"Len 3, expected %d, got %d
\n
"
,
values
[
0
],
i
);
}
static
void
test_alloc_shared
()
static
void
test_alloc_shared
(
void
)
{
DWORD
procid
;
HANDLE
hmem
;
...
...
dlls/urlmon/urlmon_main.h
View file @
863a4b14
...
...
@@ -32,8 +32,8 @@ extern HRESULT ZoneMgrImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj);
* Dll lifetime tracking declaration for urlmon.dll
*/
extern
LONG
URLMON_refCount
;
static
inline
void
URLMON_LockModule
()
{
InterlockedIncrement
(
&
URLMON_refCount
);
}
static
inline
void
URLMON_UnlockModule
()
{
InterlockedDecrement
(
&
URLMON_refCount
);
}
static
inline
void
URLMON_LockModule
(
void
)
{
InterlockedIncrement
(
&
URLMON_refCount
);
}
static
inline
void
URLMON_UnlockModule
(
void
)
{
InterlockedDecrement
(
&
URLMON_refCount
);
}
#define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
...
...
dlls/user/static.c
View file @
863a4b14
...
...
@@ -239,7 +239,7 @@ static VOID STATIC_TryPaintFcn(HWND hwnd, LONG full_style)
}
}
static
VOID
STATIC_InitColours
()
static
VOID
STATIC_InitColours
(
void
)
{
color_3ddkshadow
=
GetSysColor
(
COLOR_3DDKSHADOW
);
color_3dshadow
=
GetSysColor
(
COLOR_3DSHADOW
);
...
...
dlls/user/tests/msg.c
View file @
863a4b14
...
...
@@ -1095,7 +1095,7 @@ static void add_message(const struct message *msg)
sequence_cnt
++
;
}
static
void
flush_sequence
()
static
void
flush_sequence
(
void
)
{
HeapFree
(
GetProcessHeap
(),
0
,
sequence
);
sequence
=
0
;
...
...
dlls/uxtheme/system.c
View file @
863a4b14
...
...
@@ -75,7 +75,7 @@ WCHAR szCurrentSize[64];
*
* Set the current active theme from the registry
*/
void
UXTHEME_LoadTheme
(
)
static
void
UXTHEME_LoadTheme
(
void
)
{
HKEY
hKey
;
LONG
buffsize
;
...
...
dlls/winedos/devices.c
View file @
863a4b14
...
...
@@ -196,7 +196,7 @@ typedef struct
DWORD
DOS_LOLSeg
;
static
struct
_DOS_LISTOFLISTS
*
DOSMEM_LOL
()
static
struct
_DOS_LISTOFLISTS
*
DOSMEM_LOL
(
void
)
{
return
PTR_REAL_TO_LIN
(
HIWORD
(
DOS_LOLSeg
),
0
);
}
...
...
dlls/winmm/tests/capture.c
View file @
863a4b14
...
...
@@ -648,7 +648,7 @@ static void wave_in_test_device(int device)
dev_name
(
device
));
}
static
void
wave_in_tests
()
static
void
wave_in_tests
(
void
)
{
WAVEINCAPSA
capsA
;
WAVEINCAPSW
capsW
;
...
...
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