janitorial: Prototype func() should be func(void).

This commit is contained in:
Eric Pouech 2008-04-30 08:38:33 +02:00 committed by Alexandre Julliard
parent 2353dcf783
commit 21171c403f
5 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ static unsigned (*pcapi20_release)(unsigned) = NULL;
static unsigned (*pcapi20_put_message)(unsigned, unsigned char *) = NULL;
static unsigned (*pcapi20_get_message)(unsigned, unsigned char **) = NULL;
static unsigned (*pcapi20_waitformessage)(unsigned, struct timeval *) = NULL;
static unsigned (*pcapi20_isinstalled)() = NULL;
static unsigned (*pcapi20_isinstalled)(void) = NULL;
static unsigned (*pcapi20_get_profile)(unsigned, unsigned char *) = NULL;
static unsigned char *(*pcapi20_get_manufacturer)(unsigned, unsigned char *) = NULL;
static unsigned char *(*pcapi20_get_serial_number)(unsigned, unsigned char *) = NULL;

View File

@ -503,7 +503,7 @@ static struct regsvr_interface const interface_list[] = {
/***********************************************************************
* DllRegisterServer (DMSTYLE.3)
*/
HRESULT WINAPI DllRegisterServer() {
HRESULT WINAPI DllRegisterServer(void) {
HRESULT hr;
TRACE("\n");
@ -517,7 +517,7 @@ HRESULT WINAPI DllRegisterServer() {
/***********************************************************************
* DllUnregisterServer (DMSTYLE.4)
*/
HRESULT WINAPI DllUnregisterServer() {
HRESULT WINAPI DllUnregisterServer(void) {
HRESULT hr;
TRACE("\n");

View File

@ -137,7 +137,7 @@ TW_UINT16 GPHOTO2_ImageFileXferGet (pTW_IDENTITY pOrigin,
}
#ifdef HAVE_GPHOTO2
static TW_UINT16 _get_image_and_startup_jpeg() {
static TW_UINT16 _get_image_and_startup_jpeg(void) {
const char *folder = NULL, *filename = NULL;
struct gphoto2_file *file;
const unsigned char *filedata;

View File

@ -212,7 +212,7 @@ static const struct IXMLDOMImplementationVtbl dimimpl_vtbl =
dimimpl_hasFeature
};
IUnknown* create_doc_Implementation()
IUnknown* create_doc_Implementation(void)
{
domimpl *This;

View File

@ -985,7 +985,7 @@ LRESULT IME_SendMessageToSelectedHWND(UINT msg, WPARAM wParam, LPARAM lParam)
return rc;
}
INT IME_GetCursorPos()
INT IME_GetCursorPos(void)
{
LPINPUTCONTEXT lpIMC;
INT rc = 0;