From fa6ffb4d5d61581ded02e144cc0c8d7d015b995f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 7 Oct 2009 12:24:53 +0200 Subject: [PATCH] Fix empty function prototypes. --- dlls/d3dx9_36/tests/texture.c | 2 +- dlls/imm32/tests/imm32.c | 2 +- dlls/mscms/tests/profile.c | 4 ++-- dlls/msctf/tests/inputprocessor.c | 2 +- dlls/msi/tests/msi.c | 2 +- dlls/msxml3/msxml_private.h | 2 +- dlls/winedos/relay.c | 2 +- dlls/winex11.drv/x11drv.h | 2 +- loader/preloader.c | 2 +- programs/secedit/main.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dlls/d3dx9_36/tests/texture.c b/dlls/d3dx9_36/tests/texture.c index 7f10e2d09f6..7e4fdae9e24 100644 --- a/dlls/d3dx9_36/tests/texture.c +++ b/dlls/d3dx9_36/tests/texture.c @@ -78,7 +78,7 @@ static HRESULT create_file(const char *filename, const unsigned char *data, cons return D3DERR_INVALIDCALL; } -static void test_D3DXGetImageInfo() +static void test_D3DXGetImageInfo(void) { HRESULT hr; D3DXIMAGE_INFO info; diff --git a/dlls/imm32/tests/imm32.c b/dlls/imm32/tests/imm32.c index 7b76226eb11..ccbbc06f4f2 100644 --- a/dlls/imm32/tests/imm32.c +++ b/dlls/imm32/tests/imm32.c @@ -118,7 +118,7 @@ static void msg_spy_init(HWND hwnd) { msg_spy_flush_msgs(); } -static void msg_spy_cleanup() { +static void msg_spy_cleanup(void) { if (msg_spy.get_msg_hook) UnhookWindowsHookEx(msg_spy.get_msg_hook); if (msg_spy.call_wnd_proc_hook) diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c index 4f71789d708..470e10e7057 100644 --- a/dlls/mscms/tests/profile.c +++ b/dlls/mscms/tests/profile.c @@ -453,7 +453,7 @@ static void test_GetCountColorProfileElements(void) } } -static void test_GetStandardColorSpaceProfileA() +static void test_GetStandardColorSpaceProfileA(void) { BOOL ret; DWORD size; @@ -533,7 +533,7 @@ static void test_GetStandardColorSpaceProfileA() ok( ret, "SetStandardColorSpaceProfileA() failed (%d)\n", GetLastError() ); } -static void test_GetStandardColorSpaceProfileW() +static void test_GetStandardColorSpaceProfileW(void) { BOOL ret; DWORD size; diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c index ffbdbad39ef..edf5cc0327f 100644 --- a/dlls/msctf/tests/inputprocessor.c +++ b/dlls/msctf/tests/inputprocessor.c @@ -770,7 +770,7 @@ static HRESULT RegisterTextService(REFCLSID rclsid) return CoRegisterClassObject(rclsid, (IUnknown*) cf, CLSCTX_INPROC_SERVER, REGCLS_MULTIPLEUSE, ®id); } -static HRESULT UnregisterTextService() +static HRESULT UnregisterTextService(void) { return CoRevokeClassObject(regid); } diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index fdbb2531d99..f25d5803628 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -8510,7 +8510,7 @@ static void test_MsiEnumPatchesEx_userunmanaged(LPCSTR usersid, LPCSTR expecteds RegCloseKey(prodkey); } -static void test_MsiEnumPatchesEx_machine() +static void test_MsiEnumPatchesEx_machine(void) { CHAR keypath[MAX_PATH], patch[MAX_PATH]; CHAR patch_squashed[MAX_PATH], patchcode[MAX_PATH]; diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h index c4568f423ee..4a991aec474 100644 --- a/dlls/msxml3/msxml_private.h +++ b/dlls/msxml3/msxml_private.h @@ -118,7 +118,7 @@ extern IUnknown *create_comment( xmlNodePtr comment ); extern IUnknown *create_cdata( xmlNodePtr text ); extern IXMLDOMNodeList *create_children_nodelist( xmlNodePtr ); extern IXMLDOMNamedNodeMap *create_nodemap( IXMLDOMNode *node ); -extern IUnknown *create_doc_Implementation(); +extern IUnknown *create_doc_Implementation(void); extern IUnknown *create_doc_fragment( xmlNodePtr fragment ); extern IUnknown *create_doc_entity_ref( xmlNodePtr entity ); diff --git a/dlls/winedos/relay.c b/dlls/winedos/relay.c index 39978fa907b..acadd774fc6 100644 --- a/dlls/winedos/relay.c +++ b/dlls/winedos/relay.c @@ -167,7 +167,7 @@ void DOSVM_RelayHandler( CONTEXT86 *context ) */ void DOSVM_BuildCallFrame( CONTEXT86 *context, DOSRELAY relay, LPVOID data ) { - static void (*__wine_call_from_16_regs_ptr)(); + static void (*__wine_call_from_16_regs_ptr)(void); WORD code_sel = DOSVM_dpmi_segments->relay_code_sel; /* diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 922855de944..3faffdfc38c 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -300,7 +300,7 @@ extern BOOL destroy_glxpixmap(Display *display, XID glxpixmap); /* IME support */ extern void IME_UnregisterClasses(void); extern void IME_SetOpenStatus(BOOL fOpen); -extern INT IME_GetCursorPos(); +extern INT IME_GetCursorPos(void); extern void IME_SetCursorPos(DWORD pos); extern void IME_UpdateAssociation(HWND focus); extern BOOL IME_SetCompositionString(DWORD dwIndex, LPCVOID lpComp, diff --git a/loader/preloader.c b/loader/preloader.c index 087d04b68ae..9f9b0831aa0 100644 --- a/loader/preloader.c +++ b/loader/preloader.c @@ -192,7 +192,7 @@ struct * It calls wld_start, passing a pointer to the args it receives * then jumps to the address wld_start returns. */ -void _start(); +void _start(void); extern char _end[]; __ASM_GLOBAL_FUNC(_start, "\tmovl $243,%eax\n" /* SYS_set_thread_area */ diff --git a/programs/secedit/main.c b/programs/secedit/main.c index 878adc9676e..597db5afba5 100644 --- a/programs/secedit/main.c +++ b/programs/secedit/main.c @@ -16,7 +16,7 @@ #include -int main() +int main( int argc, char *argv[] ) { return 0; } -- 2.11.4.GIT