Commit fa6ffb4d authored by Alexandre Julliard's avatar Alexandre Julliard

Fix empty function prototypes.

parent d6f48927
...@@ -78,7 +78,7 @@ static HRESULT create_file(const char *filename, const unsigned char *data, cons ...@@ -78,7 +78,7 @@ static HRESULT create_file(const char *filename, const unsigned char *data, cons
return D3DERR_INVALIDCALL; return D3DERR_INVALIDCALL;
} }
static void test_D3DXGetImageInfo() static void test_D3DXGetImageInfo(void)
{ {
HRESULT hr; HRESULT hr;
D3DXIMAGE_INFO info; D3DXIMAGE_INFO info;
......
...@@ -118,7 +118,7 @@ static void msg_spy_init(HWND hwnd) { ...@@ -118,7 +118,7 @@ static void msg_spy_init(HWND hwnd) {
msg_spy_flush_msgs(); msg_spy_flush_msgs();
} }
static void msg_spy_cleanup() { static void msg_spy_cleanup(void) {
if (msg_spy.get_msg_hook) if (msg_spy.get_msg_hook)
UnhookWindowsHookEx(msg_spy.get_msg_hook); UnhookWindowsHookEx(msg_spy.get_msg_hook);
if (msg_spy.call_wnd_proc_hook) if (msg_spy.call_wnd_proc_hook)
......
...@@ -453,7 +453,7 @@ static void test_GetCountColorProfileElements(void) ...@@ -453,7 +453,7 @@ static void test_GetCountColorProfileElements(void)
} }
} }
static void test_GetStandardColorSpaceProfileA() static void test_GetStandardColorSpaceProfileA(void)
{ {
BOOL ret; BOOL ret;
DWORD size; DWORD size;
...@@ -533,7 +533,7 @@ static void test_GetStandardColorSpaceProfileA() ...@@ -533,7 +533,7 @@ static void test_GetStandardColorSpaceProfileA()
ok( ret, "SetStandardColorSpaceProfileA() failed (%d)\n", GetLastError() ); ok( ret, "SetStandardColorSpaceProfileA() failed (%d)\n", GetLastError() );
} }
static void test_GetStandardColorSpaceProfileW() static void test_GetStandardColorSpaceProfileW(void)
{ {
BOOL ret; BOOL ret;
DWORD size; DWORD size;
......
...@@ -770,7 +770,7 @@ static HRESULT RegisterTextService(REFCLSID rclsid) ...@@ -770,7 +770,7 @@ static HRESULT RegisterTextService(REFCLSID rclsid)
return CoRegisterClassObject(rclsid, (IUnknown*) cf, CLSCTX_INPROC_SERVER, REGCLS_MULTIPLEUSE, &regid); return CoRegisterClassObject(rclsid, (IUnknown*) cf, CLSCTX_INPROC_SERVER, REGCLS_MULTIPLEUSE, &regid);
} }
static HRESULT UnregisterTextService() static HRESULT UnregisterTextService(void)
{ {
return CoRevokeClassObject(regid); return CoRevokeClassObject(regid);
} }
......
...@@ -8510,7 +8510,7 @@ static void test_MsiEnumPatchesEx_userunmanaged(LPCSTR usersid, LPCSTR expecteds ...@@ -8510,7 +8510,7 @@ static void test_MsiEnumPatchesEx_userunmanaged(LPCSTR usersid, LPCSTR expecteds
RegCloseKey(prodkey); RegCloseKey(prodkey);
} }
static void test_MsiEnumPatchesEx_machine() static void test_MsiEnumPatchesEx_machine(void)
{ {
CHAR keypath[MAX_PATH], patch[MAX_PATH]; CHAR keypath[MAX_PATH], patch[MAX_PATH];
CHAR patch_squashed[MAX_PATH], patchcode[MAX_PATH]; CHAR patch_squashed[MAX_PATH], patchcode[MAX_PATH];
......
...@@ -118,7 +118,7 @@ extern IUnknown *create_comment( xmlNodePtr comment ); ...@@ -118,7 +118,7 @@ extern IUnknown *create_comment( xmlNodePtr comment );
extern IUnknown *create_cdata( xmlNodePtr text ); extern IUnknown *create_cdata( xmlNodePtr text );
extern IXMLDOMNodeList *create_children_nodelist( xmlNodePtr ); extern IXMLDOMNodeList *create_children_nodelist( xmlNodePtr );
extern IXMLDOMNamedNodeMap *create_nodemap( IXMLDOMNode *node ); 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_fragment( xmlNodePtr fragment );
extern IUnknown *create_doc_entity_ref( xmlNodePtr entity ); extern IUnknown *create_doc_entity_ref( xmlNodePtr entity );
......
...@@ -167,7 +167,7 @@ void DOSVM_RelayHandler( CONTEXT86 *context ) ...@@ -167,7 +167,7 @@ void DOSVM_RelayHandler( CONTEXT86 *context )
*/ */
void DOSVM_BuildCallFrame( CONTEXT86 *context, DOSRELAY relay, LPVOID data ) 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; WORD code_sel = DOSVM_dpmi_segments->relay_code_sel;
/* /*
......
...@@ -300,7 +300,7 @@ extern BOOL destroy_glxpixmap(Display *display, XID glxpixmap); ...@@ -300,7 +300,7 @@ extern BOOL destroy_glxpixmap(Display *display, XID glxpixmap);
/* IME support */ /* IME support */
extern void IME_UnregisterClasses(void); extern void IME_UnregisterClasses(void);
extern void IME_SetOpenStatus(BOOL fOpen); extern void IME_SetOpenStatus(BOOL fOpen);
extern INT IME_GetCursorPos(); extern INT IME_GetCursorPos(void);
extern void IME_SetCursorPos(DWORD pos); extern void IME_SetCursorPos(DWORD pos);
extern void IME_UpdateAssociation(HWND focus); extern void IME_UpdateAssociation(HWND focus);
extern BOOL IME_SetCompositionString(DWORD dwIndex, LPCVOID lpComp, extern BOOL IME_SetCompositionString(DWORD dwIndex, LPCVOID lpComp,
......
...@@ -192,7 +192,7 @@ struct ...@@ -192,7 +192,7 @@ struct
* It calls wld_start, passing a pointer to the args it receives * It calls wld_start, passing a pointer to the args it receives
* then jumps to the address wld_start returns. * then jumps to the address wld_start returns.
*/ */
void _start(); void _start(void);
extern char _end[]; extern char _end[];
__ASM_GLOBAL_FUNC(_start, __ASM_GLOBAL_FUNC(_start,
"\tmovl $243,%eax\n" /* SYS_set_thread_area */ "\tmovl $243,%eax\n" /* SYS_set_thread_area */
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <stdlib.h> #include <stdlib.h>
int main() int main( int argc, char *argv[] )
{ {
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment