Alexandre Julliard : Fix empty function prototypes.

Alexandre Julliard julliard at winehq.org
Wed Oct 7 09:46:05 CDT 2009


Module: wine
Branch: master
Commit: fa6ffb4d5d61581ded02e144cc0c8d7d015b995f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fa6ffb4d5d61581ded02e144cc0c8d7d015b995f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Oct  7 12:24:53 2009 +0200

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 7f10e2d..7e4fdae 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 7b76226..ccbbc06 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 4f71789..470e10e 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 ffbdbad..edf5cc0 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, &regid);
 }
 
-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 fdbb253..f25d580 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 c4568f4..4a991ae 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 39978fa..acadd77 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 922855d..3faffdf 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 087d04b..9f9b083 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 878adc9..597db5a 100644
--- a/programs/secedit/main.c
+++ b/programs/secedit/main.c
@@ -16,7 +16,7 @@
 
 #include <stdlib.h>
 
-int main()
+int main( int argc, char *argv[] )
 {
     return 0;
 }




More information about the wine-cvs mailing list