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
2993785f
Commit
2993785f
authored
Aug 29, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted non-ANSI function declaration fixes (missing void).
parent
8def2dec
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
27 additions
and
27 deletions
+27
-27
cards.c
dlls/cards/cards.c
+1
-1
monthcal.c
dlls/comctl32/tests/monthcal.c
+1
-1
toolbar.c
dlls/comctl32/tests/toolbar.c
+1
-1
main.c
dlls/dpnhpast/main.c
+1
-1
graphics.c
dlls/gdiplus/tests/graphics.c
+2
-2
image.c
dlls/gdiplus/tests/image.c
+1
-1
ui.c
dlls/gphoto2.ds/ui.c
+1
-1
relay16.c
dlls/kernel32/relay16.c
+1
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+2
-2
oleaut.c
dlls/oleaut32/oleaut.c
+1
-1
olepro32stubs.c
dlls/olepro32/olepro32stubs.c
+2
-2
main.c
dlls/quartz/main.c
+1
-1
stubs.c
dlls/setupapi/stubs.c
+1
-1
systray.c
dlls/shell32/tests/systray.c
+1
-1
thread.c
dlls/shlwapi/thread.c
+1
-1
class.c
dlls/user32/tests/class.c
+1
-1
system.c
dlls/uxtheme/system.c
+1
-1
vga.c
dlls/winedos/vga.c
+1
-1
mkagl.c
dlls/wineps.drv/mkagl.c
+3
-3
graphctl.c
programs/taskmgr/graphctl.c
+2
-2
msvcmaker
tools/winapi/msvcmaker
+1
-1
No files found.
dlls/cards/cards.c
View file @
2993785f
...
...
@@ -269,7 +269,7 @@ BOOL WINAPI cdtAnimate(HDC hdc, int cardback, int x, int y, int frame)
/***********************************************************************
* Frees resources reserved by cdtInitialize.
*/
void
WINAPI
cdtTerm
()
void
WINAPI
cdtTerm
(
void
)
{
int
i
;
...
...
dlls/comctl32/tests/monthcal.c
View file @
2993785f
...
...
@@ -395,7 +395,7 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
return
ret
;
}
static
BOOL
register_parent_wnd_class
()
static
BOOL
register_parent_wnd_class
(
void
)
{
WNDCLASSA
cls
;
...
...
dlls/comctl32/tests/toolbar.c
View file @
2993785f
...
...
@@ -948,7 +948,7 @@ static void test_getbuttoninfo(void)
DestroyWindow
(
hToolbar
);
}
static
void
test_createtoolbarex
()
static
void
test_createtoolbarex
(
void
)
{
HWND
hToolbar
;
TBBUTTON
btns
[
3
];
...
...
dlls/dpnhpast/main.c
View file @
2993785f
...
...
@@ -56,7 +56,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
*
*/
#if 0
HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate(
void
)
{
/* @stub in .spec */
}
...
...
dlls/gdiplus/tests/graphics.c
View file @
2993785f
...
...
@@ -26,7 +26,7 @@
#define expect(expected, got) ok(got == expected, "Expected %.8x, got %.8x\n", expected, got)
#define TABLE_LEN (23)
static
void
test_constructor_destructor
()
static
void
test_constructor_destructor
(
void
)
{
GpStatus
stat
;
GpGraphics
*
graphics
=
NULL
;
...
...
@@ -91,7 +91,7 @@ end:
expect
(
0
,
dups
);
}
static
void
test_save_restore
()
static
void
test_save_restore
(
void
)
{
GpStatus
stat
;
GraphicsState
state_a
,
state_b
,
state_c
;
...
...
dlls/gdiplus/tests/image.c
View file @
2993785f
...
...
@@ -24,7 +24,7 @@
#define expect(expected, got) ok(((UINT)got) == ((UINT)expected), "Expected %.8x, got %.8x\n", (UINT)expected, (UINT)got)
static
void
test_Scan0
()
static
void
test_Scan0
(
void
)
{
GpBitmap
*
bm
;
GpStatus
stat
;
...
...
dlls/gphoto2.ds/ui.c
View file @
2993785f
...
...
@@ -72,7 +72,7 @@ static void UI_EndDialog(HWND hwnd, INT_PTR rc)
EndDialog
(
hwnd
,
rc
);
}
static
int
GetAllImages
()
static
int
GetAllImages
(
void
)
{
struct
gphoto2_file
*
file
;
int
has_images
=
0
;
...
...
dlls/kernel32/relay16.c
View file @
2993785f
...
...
@@ -579,7 +579,7 @@ int relay_call_from_16( void *entry_point, unsigned char *args16, CONTEXT86 *con
/***********************************************************************
* __wine_call_from_16_regs (KERNEL32.@)
*/
void
__wine_call_from_16_regs
()
void
__wine_call_from_16_regs
(
void
)
{
assert
(
FALSE
);
}
...
...
dlls/msxml3/tests/domdoc.c
View file @
2993785f
...
...
@@ -172,7 +172,7 @@ static BSTR _bstr_(const char *str)
return
alloced_bstrs
[
alloced_bstrs_count
++
];
}
static
void
free_bstrs
()
static
void
free_bstrs
(
void
)
{
int
i
;
for
(
i
=
0
;
i
<
alloced_bstrs_count
;
i
++
)
...
...
@@ -1457,7 +1457,7 @@ static void test_IXMLDOMDocument2(void)
free_bstrs
();
}
static
void
test_XPath
()
static
void
test_XPath
(
void
)
{
HRESULT
r
;
VARIANT
var
;
...
...
dlls/oleaut32/oleaut.c
View file @
2993785f
...
...
@@ -574,7 +574,7 @@ HRESULT WINAPI GetActiveObject(REFCLSID rcid,LPVOID preserved,LPUNKNOWN *ppunk)
* Currently the versions returned are 2.20 for Win3.1, 2.30 for Win95 & NT 3.51,
* and 2.40 for all later versions. The build number is maximum, i.e. 0xffff.
*/
ULONG
WINAPI
OaBuildVersion
()
ULONG
WINAPI
OaBuildVersion
(
void
)
{
switch
(
GetVersion
()
&
0x8000ffff
)
/* mask off build number */
{
...
...
dlls/olepro32/olepro32stubs.c
View file @
2993785f
...
...
@@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
/***********************************************************************
* DllUnregisterServer (OLEPRO32.258)
*/
HRESULT
WINAPI
DllUnregisterServer
()
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
FIXME
(
"stub
\n
"
);
return
S_OK
;
...
...
@@ -42,7 +42,7 @@ HRESULT WINAPI DllUnregisterServer()
/***********************************************************************
* DllRegisterServer (OLEPRO32.257)
*/
HRESULT
WINAPI
DllRegisterServer
()
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
FIXME
(
"stub
\n
"
);
return
S_OK
;
...
...
dlls/quartz/main.c
View file @
2993785f
...
...
@@ -201,7 +201,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
/***********************************************************************
* DllCanUnloadNow (QUARTZ.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
()
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
dll_ref
!=
0
?
S_FALSE
:
S_OK
;
}
...
...
dlls/setupapi/stubs.c
View file @
2993785f
...
...
@@ -150,7 +150,7 @@ BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
/***********************************************************************
* SetupCloseLog(SETUPAPI.@)
*/
void
WINAPI
SetupCloseLog
()
void
WINAPI
SetupCloseLog
(
void
)
{
FIXME
(
"() stub
\n
"
);
}
...
...
dlls/shell32/tests/systray.c
View file @
2993785f
...
...
@@ -27,7 +27,7 @@
static
HWND
hMainWnd
;
void
test_cbsize
()
void
test_cbsize
(
void
)
{
NOTIFYICONDATAW
nidW
;
NOTIFYICONDATAA
nidA
;
...
...
dlls/shlwapi/thread.c
View file @
2993785f
...
...
@@ -184,7 +184,7 @@ HRESULT WINAPI SHSetThreadRef(IUnknown *lpUnknown)
* Success: S_OK. The threads object reference is released.
* Failure: An HRESULT error code.
*/
HRESULT
WINAPI
SHReleaseThreadRef
()
HRESULT
WINAPI
SHReleaseThreadRef
(
void
)
{
FIXME
(
"() - stub!
\n
"
);
return
S_OK
;
...
...
dlls/user32/tests/class.c
View file @
2993785f
...
...
@@ -565,7 +565,7 @@ static void test_instances(void)
check_thread_instance
(
"EDIT"
,
(
HINSTANCE
)
0x12345678
,
(
HINSTANCE
)
0x12345678
,
(
HINSTANCE
)
0xdeadbeef
);
}
static
void
test_defwndproc
()
static
void
test_defwndproc
(
void
)
{
static
const
char
classA
[]
=
"deftest"
;
static
const
WCHAR
classW
[]
=
{
'd'
,
'e'
,
'f'
,
't'
,
'e'
,
's'
,
't'
,
0
};
...
...
dlls/uxtheme/system.c
View file @
2993785f
...
...
@@ -842,7 +842,7 @@ HRESULT WINAPI GetThemeDocumentationProperty(LPCWSTR pszThemeName,
* RETURNS
* some kind of status flag
*/
DWORD
WINAPI
QueryThemeServices
()
DWORD
WINAPI
QueryThemeServices
(
void
)
{
FIXME
(
"stub
\n
"
);
return
3
;
/* This is what is returned under XP in most cases */
...
...
dlls/winedos/vga.c
View file @
2993785f
...
...
@@ -646,7 +646,7 @@ void VGA_SetWindowStart(int start)
* Get start of 64k window at 0xa0000 in bytes.
* Value is -1 in color plane modes.
*/
int
VGA_GetWindowStart
()
int
VGA_GetWindowStart
(
void
)
{
return
vga_fb_window
;
}
...
...
dlls/wineps.drv/mkagl.c
View file @
2993785f
...
...
@@ -55,12 +55,12 @@ static int cmp_by_name(const void *a, const void *b)
return
strcmp
(((
const
GLYPHINFO
*
)
a
)
->
name
,
((
const
GLYPHINFO
*
)
b
)
->
name
);
}
static
inline
void
sort_by_UV
()
static
inline
void
sort_by_UV
(
void
)
{
qsort
(
glyphs
,
num_glyphs
,
sizeof
(
GLYPHINFO
),
cmp_by_UV
);
}
static
inline
void
sort_by_name
()
static
inline
void
sort_by_name
(
void
)
{
qsort
(
glyphs
,
num_glyphs
,
sizeof
(
GLYPHINFO
),
cmp_by_name
);
}
...
...
@@ -113,7 +113,7 @@ static inline void triple_space(FILE *f)
* Read the Adobe Glyph List from 'glyphlist.txt'
*/
static
void
read_agl
()
static
void
read_agl
(
void
)
{
FILE
*
f
=
fopen
(
"glyphlist.txt"
,
"r"
);
char
linebuf
[
256
],
namebuf
[
128
],
commbuf
[
128
];
...
...
programs/taskmgr/graphctl.c
View file @
2993785f
...
...
@@ -111,7 +111,7 @@ static void GraphCtrl_Init(TGraphCtrl* this)
}
#if 0
TGraphCtrl::~TGraphCtrl()
TGraphCtrl::~TGraphCtrl(
void
)
{
/* just to be picky restore the bitmaps for the two memory dc's */
/* (these dc's are being destroyed so there shouldn't be any leaks) */
...
...
@@ -515,7 +515,7 @@ void GraphCtrl_Resize(TGraphCtrl* this)
}
#if 0
void TGraphCtrl::Reset()
void TGraphCtrl::Reset(
void
)
{
/* to clear the existing data (in the form of a bitmap) */
/* simply invalidate the entire control */
...
...
tools/winapi/msvcmaker
View file @
2993785f
...
...
@@ -1139,7 +1139,7 @@ sub _generate_winetest_c($) {
print
OUT
"/* Automatically generated file; DO NOT EDIT!! */\n\n"
;
print
OUT
"/* Force the linker to generate a .lib file */\n"
;
print
OUT
"void __wine_dummy_lib_function()\n{\n}\n\n"
;
print
OUT
"void __wine_dummy_lib_function(
void
)\n{\n}\n\n"
;
}
if
(
$options
->
wine
)
{
...
...
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