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
51a7ca34
Commit
51a7ca34
authored
Mar 10, 2007
by
Stefan Huehner
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some functions arguments from () -> (void).
parent
65448311
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
64 additions
and
64 deletions
+64
-64
advpack.c
dlls/advpack/tests/advpack.c
+2
-2
install.c
dlls/advpack/tests/install.c
+4
-4
autocomplete.c
dlls/browseui/tests/autocomplete.c
+1
-1
listview.c
dlls/comctl32/tests/listview.c
+2
-2
rebar.c
dlls/comctl32/tests/rebar.c
+3
-3
updown.c
dlls/comctl32/tests/updown.c
+2
-2
visual.c
dlls/ddraw/tests/visual.c
+2
-2
createdevenum.c
dlls/devenum/createdevenum.c
+1
-1
devenum_main.c
dlls/devenum/devenum_main.c
+1
-1
mediacatenum.c
dlls/devenum/mediacatenum.c
+1
-1
ds3d.c
dlls/dsound/tests/ds3d.c
+1
-1
opengl.c
dlls/gdi32/opengl.c
+1
-1
font.c
dlls/gdi32/tests/font.c
+1
-1
change.c
dlls/kernel32/tests/change.c
+1
-1
mscoree_main.c
dlls/mscoree/mscoree_main.c
+1
-1
nsembed.c
dlls/mshtml/nsembed.c
+1
-1
olefont.c
dlls/oleaut32/tests/olefont.c
+1
-1
ntlm.c
dlls/secur32/tests/ntlm.c
+2
-2
pidl.c
dlls/shell32/pidl.c
+8
-8
string.c
dlls/shlwapi/tests/string.c
+2
-2
glyphlist.c
dlls/wineps.drv/glyphlist.c
+2
-2
clipboard.c
dlls/winex11.drv/clipboard.c
+2
-2
aspi.c
dlls/wnaspi32/aspi.c
+1
-1
msiquery.h
include/msiquery.h
+1
-1
group.c
programs/progman/group.c
+4
-4
main.c
programs/progman/main.c
+5
-5
program.c
programs/progman/program.c
+1
-1
hexedit.c
programs/regedit/hexedit.c
+2
-2
drive.c
programs/winecfg/drive.c
+1
-1
drivedetect.c
programs/winecfg/drivedetect.c
+1
-1
theme.c
programs/winecfg/theme.c
+2
-2
wineconsole.c
programs/wineconsole/wineconsole.c
+1
-1
wordpad.c
programs/wordpad/wordpad.c
+3
-3
No files found.
dlls/advpack/tests/advpack.c
View file @
51a7ca34
...
...
@@ -185,7 +185,7 @@ static void append_str(char **str, const char *data)
*
str
+=
strlen
(
*
str
);
}
static
void
create_inf_file
()
static
void
create_inf_file
(
void
)
{
char
data
[
1024
];
char
*
ptr
=
data
;
...
...
@@ -215,7 +215,7 @@ static void create_inf_file()
CloseHandle
(
hf
);
}
static
void
translateinfstring_test
()
static
void
translateinfstring_test
(
void
)
{
HRESULT
hr
;
char
buffer
[
MAX_PATH
];
...
...
dlls/advpack/tests/install.c
View file @
51a7ca34
...
...
@@ -30,7 +30,7 @@ static HRESULT (WINAPI *pLaunchINFSectionEx)(HWND, HINSTANCE, LPSTR, INT);
static
char
CURR_DIR
[
MAX_PATH
];
static
BOOL
init_function_pointers
()
static
BOOL
init_function_pointers
(
void
)
{
HMODULE
hAdvPack
=
LoadLibraryA
(
"advpack.dll"
);
if
(
!
hAdvPack
)
...
...
@@ -80,7 +80,7 @@ static void create_inf_file(LPCSTR filename)
CloseHandle
(
hf
);
}
static
void
test_RunSetupCommand
()
static
void
test_RunSetupCommand
(
void
)
{
HRESULT
hr
;
HANDLE
hexe
;
...
...
@@ -194,7 +194,7 @@ static void test_RunSetupCommand()
"Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %d
\n
"
,
hr
);
}
static
void
test_LaunchINFSection
()
static
void
test_LaunchINFSection
(
void
)
{
HRESULT
hr
;
char
cmdline
[
MAX_PATH
];
...
...
@@ -226,7 +226,7 @@ static void test_LaunchINFSection()
DeleteFileA
(
"test.inf"
);
}
static
void
test_LaunchINFSectionEx
()
static
void
test_LaunchINFSectionEx
(
void
)
{
HRESULT
hr
;
char
cmdline
[
MAX_PATH
];
...
...
dlls/browseui/tests/autocomplete.c
View file @
51a7ca34
...
...
@@ -222,7 +222,7 @@ IACListVtbl TestACL_ACListVtbl =
#define expect_end(obj) \
ok(obj->lpVtbl->Next(obj, 1, &wstr, &i) == S_FALSE, "Unexpected return from Next\n");
void
test_ACLMulti
()
void
test_ACLMulti
(
void
)
{
const
char
*
strings1
[]
=
{
"a"
,
"c"
,
"e"
};
const
char
*
strings2
[]
=
{
"a"
,
"b"
,
"d"
};
...
...
dlls/comctl32/tests/listview.c
View file @
51a7ca34
...
...
@@ -139,7 +139,7 @@ static LRESULT WINAPI listview_subclass_proc(HWND hwnd, UINT message, WPARAM wPa
return
ret
;
}
static
HWND
create_listview_control
()
static
HWND
create_listview_control
(
void
)
{
struct
subclass_info
*
info
;
HWND
hwnd
;
...
...
@@ -567,7 +567,7 @@ static LRESULT CALLBACK create_test_wndproc(HWND hwnd, UINT uMsg, WPARAM wParam,
return
CallWindowProc
(
listviewWndProc
,
hwnd
,
uMsg
,
wParam
,
lParam
);
}
static
void
test_create
()
static
void
test_create
(
void
)
{
HWND
hList
;
HWND
hHeader
;
...
...
dlls/comctl32/tests/rebar.c
View file @
51a7ca34
...
...
@@ -308,7 +308,7 @@ static void add_band_w(HWND hRebar, LPCSTR lpszText, int cxMinChild, int cx, int
SendMessage
(
hRebar
,
RB_INSERTBAND
,
-
1
,
(
LPARAM
)
&
rbi
);
}
static
void
layout_test
()
static
void
layout_test
(
void
)
{
HWND
hRebar
=
NULL
;
REBARBANDINFO
rbi
;
...
...
@@ -625,7 +625,7 @@ static int resize_numtests = 0;
#endif
static
void
resize_test
()
static
void
resize_test
(
void
)
{
DWORD
dwStyles
[]
=
{
CCS_TOP
,
CCS_TOP
|
CCS_NODIVIDER
,
CCS_BOTTOM
,
CCS_BOTTOM
|
CCS_NODIVIDER
,
CCS_VERT
,
CCS_RIGHT
,
CCS_NOPARENTALIGN
,
CCS_NOPARENTALIGN
|
CCS_NODIVIDER
,
CCS_NORESIZE
,
CCS_NOMOVEY
,
CCS_NOMOVEY
|
CCS_VERT
,
...
...
@@ -713,7 +713,7 @@ static void expect_band_content(UINT uBand, UINT fStyle, COLORREF clrFore,
expect_eq
(
rb
.
cxHeader
,
cxHeader
,
int
,
"%d"
);
}
static
void
bandinfo_test
()
static
void
bandinfo_test
(
void
)
{
REBARBANDINFOA
rb
;
CHAR
szABC
[]
=
"ABC"
;
...
...
dlls/comctl32/tests/updown.c
View file @
51a7ca34
...
...
@@ -198,7 +198,7 @@ static LRESULT WINAPI edit_subclass_proc(HWND hwnd, UINT message, WPARAM wParam,
return
ret
;
}
static
HWND
create_edit_control
()
static
HWND
create_edit_control
(
void
)
{
struct
subclass_info
*
info
;
RECT
rect
;
...
...
@@ -247,7 +247,7 @@ static LRESULT WINAPI updown_subclass_proc(HWND hwnd, UINT message, WPARAM wPara
return
ret
;
}
static
HWND
create_updown_control
()
static
HWND
create_updown_control
(
void
)
{
struct
subclass_info
*
info
;
HWND
updown
;
...
...
dlls/ddraw/tests/visual.c
View file @
51a7ca34
...
...
@@ -31,7 +31,7 @@ IDirect3DDevice7 *Direct3DDevice = NULL;
static
HRESULT
(
WINAPI
*
pDirectDrawCreateEx
)(
LPGUID
,
LPVOID
*
,
REFIID
,
LPUNKNOWN
);
static
BOOL
createObjects
()
static
BOOL
createObjects
(
void
)
{
HRESULT
hr
;
HMODULE
hmod
=
GetModuleHandleA
(
"ddraw.dll"
);
...
...
@@ -104,7 +104,7 @@ static BOOL createObjects()
return
FALSE
;
}
static
void
releaseObjects
()
static
void
releaseObjects
(
void
)
{
IDirect3DDevice7_Release
(
Direct3DDevice
);
IDirect3D7_Release
(
Direct3D
);
...
...
dlls/devenum/createdevenum.c
View file @
51a7ca34
...
...
@@ -221,7 +221,7 @@ static HRESULT DEVENUM_CreateAMCategoryKey(const CLSID * clsidCategory)
*
* Creates the keys in the registry for the dynamic categories
*/
static
HRESULT
DEVENUM_CreateSpecialCategories
()
static
HRESULT
DEVENUM_CreateSpecialCategories
(
void
)
{
HRESULT
res
;
WCHAR
szDSoundNameFormat
[
MAX_PATH
+
1
];
...
...
dlls/devenum/devenum_main.c
View file @
51a7ca34
...
...
@@ -365,7 +365,7 @@ static HRESULT register_clsids(int count, const register_info * pRegInfo, LPCWST
typedef
HRESULT
(
WINAPI
*
DllRegisterServer_func
)(
void
);
/* calls DllRegisterServer() for the Quartz DLL */
static
void
DEVENUM_RegisterQuartz
()
static
void
DEVENUM_RegisterQuartz
(
void
)
{
HANDLE
hDLL
=
LoadLibraryA
(
"quartz.dll"
);
DllRegisterServer_func
pDllRegisterServer
=
NULL
;
...
...
dlls/devenum/mediacatenum.c
View file @
51a7ca34
...
...
@@ -679,7 +679,7 @@ static const IMonikerVtbl IMoniker_Vtbl =
DEVENUM_IMediaCatMoniker_IsSystemMoniker
};
MediaCatMoniker
*
DEVENUM_IMediaCatMoniker_Construct
()
MediaCatMoniker
*
DEVENUM_IMediaCatMoniker_Construct
(
void
)
{
MediaCatMoniker
*
pMoniker
=
NULL
;
pMoniker
=
CoTaskMemAlloc
(
sizeof
(
MediaCatMoniker
));
...
...
dlls/dsound/tests/ds3d.c
View file @
51a7ca34
...
...
@@ -112,7 +112,7 @@ const char * getDSBCAPS(DWORD xmask) {
return
buffer
;
}
HWND
get_hwnd
()
HWND
get_hwnd
(
void
)
{
HWND
hwnd
=
GetForegroundWindow
();
if
(
!
hwnd
)
...
...
dlls/gdi32/opengl.c
View file @
51a7ca34
...
...
@@ -51,7 +51,7 @@ typedef struct opengl_context
* Some functions don't receive a hDC. This function creates a global hdc and
* if there's already a global hdc, it returns it.
*/
static
DC
*
OPENGL_GetDefaultDC
()
static
DC
*
OPENGL_GetDefaultDC
(
void
)
{
if
(
!
default_hdc
)
default_hdc
=
CreateDCA
(
"DISPLAY"
,
NULL
,
NULL
,
NULL
);
...
...
dlls/gdi32/tests/font.c
View file @
51a7ca34
...
...
@@ -518,7 +518,7 @@ static void test_text_extents(void)
ReleaseDC
(
NULL
,
hdc
);
}
static
void
test_GetGlyphIndices
()
static
void
test_GetGlyphIndices
(
void
)
{
HDC
hdc
;
HFONT
hfont
;
...
...
dlls/kernel32/tests/change.c
View file @
51a7ca34
...
...
@@ -319,7 +319,7 @@ static void test_ffcn(void)
/* this test concentrates on the wait behavior when multiple threads are
* waiting on a change notification handle. */
static
void
test_ffcnMultipleThreads
()
static
void
test_ffcnMultipleThreads
(
void
)
{
LONG
r
;
DWORD
filter
,
threadId
,
status
,
exitcode
;
...
...
dlls/mscoree/mscoree_main.c
View file @
51a7ca34
...
...
@@ -75,7 +75,7 @@ BOOL WINAPI _CorDllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
static
LPWSTR
get_mono_exe
()
static
LPWSTR
get_mono_exe
(
void
)
{
static
const
WCHAR
mono_exe
[]
=
{
'b'
,
'i'
,
'n'
,
'\\'
,
'm'
,
'o'
,
'n'
,
'o'
,
'.'
,
'e'
,
'x'
,
'e'
,
' '
,
0
};
static
const
WCHAR
mono_key
[]
=
{
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'N'
,
'o'
,
'v'
,
'e'
,
'l'
,
'l'
,
'\\'
,
'M'
,
'o'
,
'n'
,
'o'
,
0
};
...
...
dlls/mshtml/nsembed.c
View file @
51a7ca34
...
...
@@ -624,7 +624,7 @@ void nsnode_to_nsstring(nsIDOMNode *nsdoc, nsAString *str)
nsIContentSerializer_Release
(
serializer
);
}
void
close_gecko
()
void
close_gecko
(
void
)
{
TRACE
(
"()
\n
"
);
...
...
dlls/oleaut32/tests/olefont.c
View file @
51a7ca34
...
...
@@ -483,7 +483,7 @@ static void test_Invoke(void)
IFontDisp_Release
(
fontdisp
);
}
static
void
test_IsEqual
()
static
void
test_IsEqual
(
void
)
{
FONTDESC
fd
;
LPVOID
pvObj
=
NULL
;
...
...
dlls/secur32/tests/ntlm.c
View file @
51a7ca34
...
...
@@ -552,7 +552,7 @@ static void communicate(SspiData *from, SspiData *to)
}
/**********************************************************************/
static
void
testInitializeSecurityContextFlags
()
static
void
testInitializeSecurityContextFlags
(
void
)
{
SECURITY_STATUS
sec_status
;
PSecPkgInfo
pkg_info
=
NULL
;
...
...
@@ -897,7 +897,7 @@ tAuthend:
getSecError
(
sec_status
));
}
static
void
testSignSeal
()
static
void
testSignSeal
(
void
)
{
SECURITY_STATUS
client_stat
=
SEC_I_CONTINUE_NEEDED
;
SECURITY_STATUS
server_stat
=
SEC_I_CONTINUE_NEEDED
;
...
...
dlls/shell32/pidl.c
View file @
51a7ca34
...
...
@@ -1357,7 +1357,7 @@ LPITEMIDLIST _ILAlloc(PIDLTYPE type, unsigned int size)
return
pidlOut
;
}
LPITEMIDLIST
_ILCreateDesktop
()
LPITEMIDLIST
_ILCreateDesktop
(
void
)
{
LPITEMIDLIST
ret
;
...
...
@@ -1368,25 +1368,25 @@ LPITEMIDLIST _ILCreateDesktop()
return
ret
;
}
LPITEMIDLIST
_ILCreateMyComputer
()
LPITEMIDLIST
_ILCreateMyComputer
(
void
)
{
TRACE
(
"()
\n
"
);
return
_ILCreateGuid
(
PT_GUID
,
&
CLSID_MyComputer
);
}
LPITEMIDLIST
_ILCreateMyDocuments
()
LPITEMIDLIST
_ILCreateMyDocuments
(
void
)
{
TRACE
(
"()
\n
"
);
return
_ILCreateGuid
(
PT_GUID
,
&
CLSID_MyDocuments
);
}
LPITEMIDLIST
_ILCreateIExplore
()
LPITEMIDLIST
_ILCreateIExplore
(
void
)
{
TRACE
(
"()
\n
"
);
return
_ILCreateGuid
(
PT_GUID
,
&
CLSID_Internet
);
}
LPITEMIDLIST
_ILCreateControlPanel
()
LPITEMIDLIST
_ILCreateControlPanel
(
void
)
{
LPITEMIDLIST
parent
=
_ILCreateGuid
(
PT_GUID
,
&
CLSID_MyComputer
),
ret
=
NULL
;
...
...
@@ -1405,7 +1405,7 @@ LPITEMIDLIST _ILCreateControlPanel()
return
ret
;
}
LPITEMIDLIST
_ILCreatePrinters
()
LPITEMIDLIST
_ILCreatePrinters
(
void
)
{
LPITEMIDLIST
parent
=
_ILCreateGuid
(
PT_GUID
,
&
CLSID_MyComputer
),
ret
=
NULL
;
...
...
@@ -1424,13 +1424,13 @@ LPITEMIDLIST _ILCreatePrinters()
return
ret
;
}
LPITEMIDLIST
_ILCreateNetwork
()
LPITEMIDLIST
_ILCreateNetwork
(
void
)
{
TRACE
(
"()
\n
"
);
return
_ILCreateGuid
(
PT_GUID
,
&
CLSID_NetworkPlaces
);
}
LPITEMIDLIST
_ILCreateBitBucket
()
LPITEMIDLIST
_ILCreateBitBucket
(
void
)
{
TRACE
(
"()
\n
"
);
return
_ILCreateGuid
(
PT_GUID
,
&
CLSID_RecycleBin
);
...
...
dlls/shlwapi/tests/string.c
View file @
51a7ca34
...
...
@@ -691,7 +691,7 @@ static void test_StrCpyNXW(void)
ok(ret##type == (exp), "Type " #type ", expected %p but got %p (string base %p)\n", \
(exp), ret##type, str);
static
void
test_StrRStrI
()
static
void
test_StrRStrI
(
void
)
{
static
const
CHAR
szTest
[]
=
"yAxxxxAy"
;
static
const
CHAR
szTest2
[]
=
"ABABABAB"
;
...
...
@@ -760,7 +760,7 @@ static void test_SHUnicodeToUnicode(void)
dwRet
,
dest
[
0
],
dest
[
1
],
dest
[
2
],
dest
[
3
],
dest
[
4
],
dest
[
5
],
dest
[
6
],
dest
[
7
]);
}
static
void
test_StrXXX_overflows
()
static
void
test_StrXXX_overflows
(
void
)
{
CHAR
str1
[
2
*
MAX_PATH
+
1
],
buf
[
2
*
MAX_PATH
];
WCHAR
wstr1
[
2
*
MAX_PATH
+
1
],
wbuf
[
2
*
MAX_PATH
];
...
...
dlls/wineps.drv/glyphlist.c
View file @
51a7ca34
...
...
@@ -42,7 +42,7 @@ static BOOL glyphNamesIndexed = TRUE;
* the AGL glyph names into it; returns 0 on success, 1 on failure
*
*/
INT
PSDRV_GlyphListInit
()
INT
PSDRV_GlyphListInit
(
void
)
{
INT
i
;
...
...
@@ -180,7 +180,7 @@ const GLYPHNAME *PSDRV_GlyphName(LPCSTR szName)
* Initializes index member of all GLYPHNAME structures
*
*/
VOID
PSDRV_IndexGlyphList
()
VOID
PSDRV_IndexGlyphList
(
void
)
{
INT
i
;
...
...
dlls/winex11.drv/clipboard.c
View file @
51a7ca34
...
...
@@ -1025,7 +1025,7 @@ static BOOL X11DRV_CLIPBOARD_RenderSynthesizedText(UINT wFormatID)
*
* Renders synthesized DIB
*/
static
BOOL
X11DRV_CLIPBOARD_RenderSynthesizedDIB
()
static
BOOL
X11DRV_CLIPBOARD_RenderSynthesizedDIB
(
void
)
{
BOOL
bret
=
FALSE
;
LPWINE_CLIPDATA
lpSource
=
NULL
;
...
...
@@ -1067,7 +1067,7 @@ static BOOL X11DRV_CLIPBOARD_RenderSynthesizedDIB()
*
* Renders synthesized bitmap
*/
static
BOOL
X11DRV_CLIPBOARD_RenderSynthesizedBitmap
()
static
BOOL
X11DRV_CLIPBOARD_RenderSynthesizedBitmap
(
void
)
{
BOOL
bret
=
FALSE
;
LPWINE_CLIPDATA
lpSource
=
NULL
;
...
...
dlls/wnaspi32/aspi.c
View file @
51a7ca34
...
...
@@ -116,7 +116,7 @@ static void set_last_error(void)
static
const
WCHAR
wDevicemapScsi
[]
=
{
'H'
,
'A'
,
'R'
,
'D'
,
'W'
,
'A'
,
'R'
,
'E'
,
'\\'
,
'D'
,
'E'
,
'V'
,
'I'
,
'C'
,
'E'
,
'M'
,
'A'
,
'P'
,
'\\'
,
'S'
,
'c'
,
's'
,
'i'
,
0
};
/* Exported functions */
int
ASPI_GetNumControllers
()
int
ASPI_GetNumControllers
(
void
)
{
HKEY
hkeyScsi
,
hkeyPort
;
DWORD
i
=
0
,
numPorts
,
num_ha
=
0
;
...
...
include/msiquery.h
View file @
51a7ca34
...
...
@@ -298,6 +298,6 @@ LANGID WINAPI MsiGetLanguage(MSIHANDLE);
UINT
WINAPI
MsiSetInstallLevel
(
MSIHANDLE
,
int
);
MSIHANDLE
WINAPI
MsiGetLastErrorRecord
();
MSIHANDLE
WINAPI
MsiGetLastErrorRecord
(
void
);
#endif
/* __WINE_MSIQUERY_H */
programs/progman/group.c
View file @
51a7ca34
...
...
@@ -57,7 +57,7 @@ static LRESULT CALLBACK GROUP_GroupWndProc(HWND hWnd, UINT msg,
* GROUP_RegisterGroupWinClass
*/
ATOM
GROUP_RegisterGroupWinClass
()
ATOM
GROUP_RegisterGroupWinClass
(
void
)
{
WNDCLASS
class
;
...
...
@@ -80,7 +80,7 @@ ATOM GROUP_RegisterGroupWinClass()
* GROUP_NewGroup
*/
VOID
GROUP_NewGroup
()
VOID
GROUP_NewGroup
(
void
)
{
CHAR
szName
[
MAX_PATHNAME_LEN
]
=
""
;
CHAR
szFile
[
MAX_PATHNAME_LEN
]
=
""
;
...
...
@@ -271,7 +271,7 @@ VOID GROUP_DeleteGroup(HLOCAL hGroup)
* GROUP_FirstGroup
*/
HLOCAL
GROUP_FirstGroup
()
HLOCAL
GROUP_FirstGroup
(
void
)
{
return
(
Globals
.
hGroups
);
}
...
...
@@ -294,7 +294,7 @@ HLOCAL GROUP_NextGroup(HLOCAL hGroup)
* GROUP_ActiveGroup
*/
HLOCAL
GROUP_ActiveGroup
()
HLOCAL
GROUP_ActiveGroup
(
void
)
{
return
(
Globals
.
hActiveGroup
);
}
...
...
programs/progman/main.c
View file @
51a7ca34
...
...
@@ -110,7 +110,7 @@ int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show
* MAIN_CreateGroups
*/
static
VOID
MAIN_CreateGroups
()
static
VOID
MAIN_CreateGroups
(
void
)
{
CHAR
buffer
[
BUFFER_SIZE
];
CHAR
szPath
[
MAX_PATHNAME_LEN
];
...
...
@@ -144,7 +144,7 @@ static VOID MAIN_CreateGroups()
* MAIN_AutoStart
*/
VOID
MAIN_AutoStart
()
VOID
MAIN_AutoStart
(
void
)
{
CHAR
buffer
[
BUFFER_SIZE
];
HLOCAL
hGroup
,
hProgram
;
...
...
@@ -344,7 +344,7 @@ static VOID MAIN_MenuCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
* MAIN_RegisterMainWinClass
*/
static
ATOM
MAIN_RegisterMainWinClass
()
static
ATOM
MAIN_RegisterMainWinClass
(
void
)
{
WNDCLASS
class
;
...
...
@@ -367,7 +367,7 @@ static ATOM MAIN_RegisterMainWinClass()
* MAIN_CreateMainWindow
*/
static
VOID
MAIN_CreateMainWindow
()
static
VOID
MAIN_CreateMainWindow
(
void
)
{
INT
left
,
top
,
right
,
bottom
,
width
,
height
,
show
;
CHAR
buffer
[
100
];
...
...
@@ -404,7 +404,7 @@ static VOID MAIN_CreateMainWindow()
* MAIN_CreateMDIWindow
*/
static
VOID
MAIN_CreateMDIWindow
()
static
VOID
MAIN_CreateMDIWindow
(
void
)
{
CLIENTCREATESTRUCT
ccs
;
RECT
rect
;
...
...
programs/progman/program.c
View file @
51a7ca34
...
...
@@ -71,7 +71,7 @@ static LRESULT CALLBACK PROGRAM_ProgramWndProc(HWND hWnd, UINT msg, WPARAM wPara
* PROGRAM_RegisterProgramWinClass
*/
ATOM
PROGRAM_RegisterProgramWinClass
()
ATOM
PROGRAM_RegisterProgramWinClass
(
void
)
{
WNDCLASS
class
;
...
...
programs/regedit/hexedit.c
View file @
51a7ca34
...
...
@@ -673,7 +673,7 @@ HexEdit_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
0
;
}
void
HexEdit_Register
()
void
HexEdit_Register
(
void
)
{
WNDCLASS
wndClass
;
...
...
@@ -690,7 +690,7 @@ void HexEdit_Register()
}
void
HexEdit_Unregister
()
void
HexEdit_Unregister
(
void
)
{
UnregisterClass
(
HEXEDIT_CLASS
,
NULL
);
}
programs/winecfg/drive.c
View file @
51a7ca34
...
...
@@ -260,7 +260,7 @@ BOOL moveDrive(struct drive *pSrc, struct drive *pDst)
#endif
/* Load currently defined drives into the drives array */
void
load_drives
()
void
load_drives
(
void
)
{
char
*
devices
,
*
dev
;
int
len
;
...
...
programs/winecfg/drivedetect.c
View file @
51a7ca34
...
...
@@ -289,7 +289,7 @@ static void ensure_drive_c_is_mapped(void)
}
}
int
autodetect_drives
()
int
autodetect_drives
(
void
)
{
#ifdef HAVE_MNTENT_H
struct
mntent
*
ent
;
...
...
programs/winecfg/theme.c
View file @
51a7ca34
...
...
@@ -629,7 +629,7 @@ static void init_shell_folder_listview_headers(HWND dialog) {
}
/* Reads the currently set shell folder symbol link targets into asfiInfo. */
static
void
read_shell_folder_link_targets
()
{
static
void
read_shell_folder_link_targets
(
void
)
{
WCHAR
wszPath
[
MAX_PATH
];
HRESULT
hr
;
int
i
;
...
...
@@ -763,7 +763,7 @@ static void on_shell_folder_edit_changed(HWND hDlg) {
SendMessage
(
GetParent
(
hDlg
),
PSM_CHANGED
,
0
,
0
);
}
static
void
apply_shell_folder_changes
()
{
static
void
apply_shell_folder_changes
(
void
)
{
WCHAR
wszPath
[
MAX_PATH
];
char
szBackupPath
[
FILENAME_MAX
],
szUnixPath
[
FILENAME_MAX
],
*
pszUnixPath
=
NULL
;
int
i
,
cUnixPathLen
;
...
...
programs/wineconsole/wineconsole.c
View file @
51a7ca34
...
...
@@ -51,7 +51,7 @@ static void printf_res(UINT uResId, ...)
va_end
(
args
);
}
static
void
WINECON_Usage
()
static
void
WINECON_Usage
(
void
)
{
printf_res
(
IDS_USAGE_HEADER
);
printf_res
(
IDS_USAGE_BACKEND
);
...
...
programs/wordpad/wordpad.c
View file @
51a7ca34
...
...
@@ -49,7 +49,7 @@ static HWND hEditorWnd;
static
char
szFilter
[
MAX_STRING_LEN
];
/* Load string resources */
static
void
DoLoadStrings
()
static
void
DoLoadStrings
(
void
)
{
LPSTR
p
=
szFilter
;
char
files_rtf
[]
=
"*.rtf"
;
...
...
@@ -176,7 +176,7 @@ static void DoOpenFile(LPCWSTR szFileName)
SetWindowText
(
hMainWnd
,
szCaption
);
}
static
void
DialogOpenFile
()
static
void
DialogOpenFile
(
void
)
{
OPENFILENAME
ofn
;
...
...
@@ -253,7 +253,7 @@ static void HandleCommandLine(LPWSTR cmdline)
MessageBox
(
hMainWnd
,
"Printing not implemented"
,
"WordPad"
,
MB_OK
);
}
static
void
DoDefaultFont
()
static
void
DoDefaultFont
(
void
)
{
static
const
WCHAR
szFaceName
[]
=
{
'T'
,
'i'
,
'm'
,
'e'
,
's'
,
' '
,
'N'
,
'e'
,
'w'
,
' '
,
'R'
,
'o'
,
'm'
,
'a'
,
'n'
,
0
};
CHARFORMAT2W
fmt
;
...
...
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