Remove redundant semicolons for ANSI compatibility.
diff --git a/dlls/kernel32/ne_module.c b/dlls/kernel32/ne_module.c index 20a5534..80b8295 100644 --- a/dlls/kernel32/ne_module.c +++ b/dlls/kernel32/ne_module.c
@@ -2161,7 +2161,7 @@ __ASM_GLOBAL_FUNC( MapHInstLS, "pushl %eax\n\t" "call " __ASM_NAME("MapHModuleLS") "\n\t" - "ret" ); + "ret" ) /*************************************************************************** * MapHInstSL (KERNEL32.@) @@ -2169,7 +2169,7 @@ __ASM_GLOBAL_FUNC( MapHInstSL, "pushl %eax\n\t" "call " __ASM_NAME("MapHModuleSL") "\n\t" - "ret" ); + "ret" ) /*************************************************************************** * MapHInstLS_PN (KERNEL32.@) @@ -2179,7 +2179,7 @@ "jz 1f\n\t" "pushl %eax\n\t" "call " __ASM_NAME("MapHModuleLS") "\n" - "1:\tret" ); + "1:\tret" ) /*************************************************************************** * MapHInstSL_PN (KERNEL32.@) @@ -2189,6 +2189,6 @@ "jz 1f\n\t" "pushl %eax\n\t" "call " __ASM_NAME("MapHModuleSL") "\n" - "1:\tret" ); + "1:\tret" ) #endif /* __i386__ */
diff --git a/dlls/kernel32/relay16.c b/dlls/kernel32/relay16.c index 6461689..6b3f8a0 100644 --- a/dlls/kernel32/relay16.c +++ b/dlls/kernel32/relay16.c
@@ -302,7 +302,7 @@ "\tpopl %edi\n" "\tpopl %esi\n" "\tpopl %ebp\n" - "\tret" ); + "\tret" ) /***********************************************************************
diff --git a/dlls/kernel32/selector.c b/dlls/kernel32/selector.c index 8136e0b..48b92c7 100644 --- a/dlls/kernel32/selector.c +++ b/dlls/kernel32/selector.c
@@ -566,7 +566,7 @@ * Must not change EAX, hence defined as asm function. */ #ifdef __i386__ -__ASM_GLOBAL_FUNC( UnMapSLFixArray, "ret $8" ); +__ASM_GLOBAL_FUNC( UnMapSLFixArray, "ret $8" ) #endif @@ -603,7 +603,7 @@ "pushl %eax\n\t" "call " __ASM_NAME("MapLS") "\n\t" "movl %eax,%edx\n" - "1:\tret" ); + "1:\tret" ) /*********************************************************************** * SUnMapLS (KERNEL32.@) @@ -613,7 +613,7 @@ "pushl %eax\n\t" "call " __ASM_NAME("UnMapLS") "\n\t" "popl %eax\n\t" - "ret" ); + "ret" ) /*********************************************************************** * SMapLS_IP_EBP_8 (KERNEL32.@) @@ -636,17 +636,17 @@ "movl " #n "(%ebp),%eax\n\t" \ "call " __ASM_NAME("SMapLS") "\n\t" \ "movl %edx," #n "(%ebp)\n\t" \ - "ret" ); + "ret" ) -DEFINE_SMapLS(8); -DEFINE_SMapLS(12); -DEFINE_SMapLS(16); -DEFINE_SMapLS(20); -DEFINE_SMapLS(24); -DEFINE_SMapLS(28); -DEFINE_SMapLS(32); -DEFINE_SMapLS(36); -DEFINE_SMapLS(40); +DEFINE_SMapLS(8) +DEFINE_SMapLS(12) +DEFINE_SMapLS(16) +DEFINE_SMapLS(20) +DEFINE_SMapLS(24) +DEFINE_SMapLS(28) +DEFINE_SMapLS(32) +DEFINE_SMapLS(36) +DEFINE_SMapLS(40) /*********************************************************************** @@ -670,14 +670,14 @@ "popl %eax\n\t" \ "ret" ) -DEFINE_SUnMapLS(8); -DEFINE_SUnMapLS(12); -DEFINE_SUnMapLS(16); -DEFINE_SUnMapLS(20); -DEFINE_SUnMapLS(24); -DEFINE_SUnMapLS(28); -DEFINE_SUnMapLS(32); -DEFINE_SUnMapLS(36); -DEFINE_SUnMapLS(40); +DEFINE_SUnMapLS(8) +DEFINE_SUnMapLS(12) +DEFINE_SUnMapLS(16) +DEFINE_SUnMapLS(20) +DEFINE_SUnMapLS(24) +DEFINE_SUnMapLS(28) +DEFINE_SUnMapLS(32) +DEFINE_SUnMapLS(36) +DEFINE_SUnMapLS(40) #endif /* __i386__ */
diff --git a/dlls/kernel32/thunk.c b/dlls/kernel32/thunk.c index fd0d3ac..631f8a1 100644 --- a/dlls/kernel32/thunk.c +++ b/dlls/kernel32/thunk.c
@@ -661,23 +661,23 @@ "leave\n\t" #define DEFINE_FT_Exit(n) \ - __ASM_GLOBAL_FUNC( FT_Exit ## n, FT_EXIT_RESTORE_REGS "ret $" #n ); + __ASM_GLOBAL_FUNC( FT_Exit ## n, FT_EXIT_RESTORE_REGS "ret $" #n ) -DEFINE_FT_Exit(0); -DEFINE_FT_Exit(4); -DEFINE_FT_Exit(8); -DEFINE_FT_Exit(12); -DEFINE_FT_Exit(16); -DEFINE_FT_Exit(20); -DEFINE_FT_Exit(24); -DEFINE_FT_Exit(28); -DEFINE_FT_Exit(32); -DEFINE_FT_Exit(36); -DEFINE_FT_Exit(40); -DEFINE_FT_Exit(44); -DEFINE_FT_Exit(48); -DEFINE_FT_Exit(52); -DEFINE_FT_Exit(56); +DEFINE_FT_Exit(0) +DEFINE_FT_Exit(4) +DEFINE_FT_Exit(8) +DEFINE_FT_Exit(12) +DEFINE_FT_Exit(16) +DEFINE_FT_Exit(20) +DEFINE_FT_Exit(24) +DEFINE_FT_Exit(28) +DEFINE_FT_Exit(32) +DEFINE_FT_Exit(36) +DEFINE_FT_Exit(40) +DEFINE_FT_Exit(44) +DEFINE_FT_Exit(48) +DEFINE_FT_Exit(52) +DEFINE_FT_Exit(56) #endif /* __i386__ */
diff --git a/dlls/msvcrt/cpp.c b/dlls/msvcrt/cpp.c index 854566e..3592f9d 100644 --- a/dlls/msvcrt/cpp.c +++ b/dlls/msvcrt/cpp.c
@@ -154,7 +154,7 @@ /****************************************************************** * ??0exception@@QAE@ABQBD@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_ctor) exception * __stdcall MSVCRT_exception_ctor(exception * _this, const char ** name) { TRACE("(%p,%s)\n", _this, *name); @@ -165,7 +165,7 @@ /****************************************************************** * ??0exception@@QAE@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_copy_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_copy_ctor) exception * __stdcall MSVCRT_exception_copy_ctor(exception * _this, const exception * rhs) { TRACE("(%p,%p)\n", _this, rhs); @@ -185,7 +185,7 @@ /****************************************************************** * ??0exception@@QAE@XZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_default_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_default_ctor) exception * __stdcall MSVCRT_exception_default_ctor(exception * _this) { static const char* empty = NULL; @@ -198,7 +198,7 @@ /****************************************************************** * ??1exception@@UAE@XZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_dtor) void __stdcall MSVCRT_exception_dtor(exception * _this) { TRACE("(%p)\n", _this); @@ -209,7 +209,7 @@ /****************************************************************** * ??4exception@@QAEAAV0@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_opequals); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_opequals) exception * __stdcall MSVCRT_exception_opequals(exception * _this, const exception * rhs) { TRACE("(%p %p)\n", _this, rhs); @@ -225,7 +225,7 @@ /****************************************************************** * ??_Eexception@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_vector_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_vector_dtor) void * __stdcall MSVCRT_exception_vector_dtor(exception * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -248,7 +248,7 @@ /****************************************************************** * ??_Gexception@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_exception_scalar_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_exception_scalar_dtor) void * __stdcall MSVCRT_exception_scalar_dtor(exception * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -260,7 +260,7 @@ /****************************************************************** * ?what@exception@@UBEPBDXZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_what_exception); +DEFINE_THISCALL_WRAPPER(MSVCRT_what_exception) const char * __stdcall MSVCRT_what_exception(exception * _this) { TRACE("(%p) returning %s\n", _this, _this->name); @@ -270,7 +270,7 @@ /****************************************************************** * ??0bad_typeid@@QAE@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_copy_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_copy_ctor) bad_typeid * __stdcall MSVCRT_bad_typeid_copy_ctor(bad_typeid * _this, const bad_typeid * rhs) { TRACE("(%p %p)\n", _this, rhs); @@ -282,7 +282,7 @@ /****************************************************************** * ??0bad_typeid@@QAE@PBD@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_ctor) bad_typeid * __stdcall MSVCRT_bad_typeid_ctor(bad_typeid * _this, const char * name) { TRACE("(%p %s)\n", _this, name); @@ -294,7 +294,7 @@ /****************************************************************** * ??1bad_typeid@@UAE@XZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_dtor) void __stdcall MSVCRT_bad_typeid_dtor(bad_typeid * _this) { TRACE("(%p)\n", _this); @@ -304,7 +304,7 @@ /****************************************************************** * ??4bad_typeid@@QAEAAV0@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_opequals); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_opequals) bad_typeid * __stdcall MSVCRT_bad_typeid_opequals(bad_typeid * _this, const bad_typeid * rhs) { TRACE("(%p %p)\n", _this, rhs); @@ -315,7 +315,7 @@ /****************************************************************** * ??_Ebad_typeid@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_vector_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_vector_dtor) void * __stdcall MSVCRT_bad_typeid_vector_dtor(bad_typeid * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -338,7 +338,7 @@ /****************************************************************** * ??_Gbad_typeid@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_scalar_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_typeid_scalar_dtor) void * __stdcall MSVCRT_bad_typeid_scalar_dtor(bad_typeid * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -350,7 +350,7 @@ /****************************************************************** * ??0__non_rtti_object@@QAE@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_copy_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_copy_ctor) __non_rtti_object * __stdcall MSVCRT___non_rtti_object_copy_ctor(__non_rtti_object * _this, const __non_rtti_object * rhs) { @@ -363,7 +363,7 @@ /****************************************************************** * ??0__non_rtti_object@@QAE@PBD@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_ctor) __non_rtti_object * __stdcall MSVCRT___non_rtti_object_ctor(__non_rtti_object * _this, const char * name) { @@ -376,7 +376,7 @@ /****************************************************************** * ??1__non_rtti_object@@UAE@XZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_dtor) void __stdcall MSVCRT___non_rtti_object_dtor(__non_rtti_object * _this) { TRACE("(%p)\n", _this); @@ -386,7 +386,7 @@ /****************************************************************** * ??4__non_rtti_object@@QAEAAV0@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_opequals); +DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_opequals) __non_rtti_object * __stdcall MSVCRT___non_rtti_object_opequals(__non_rtti_object * _this, const __non_rtti_object *rhs) { @@ -398,7 +398,7 @@ /****************************************************************** * ??_E__non_rtti_object@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_vector_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_vector_dtor) void * __stdcall MSVCRT___non_rtti_object_vector_dtor(__non_rtti_object * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -421,7 +421,7 @@ /****************************************************************** * ??_G__non_rtti_object@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_scalar_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT___non_rtti_object_scalar_dtor) void * __stdcall MSVCRT___non_rtti_object_scalar_dtor(__non_rtti_object * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -433,7 +433,7 @@ /****************************************************************** * ??0bad_cast@@QAE@ABQBD@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_ctor) bad_cast * __stdcall MSVCRT_bad_cast_ctor(bad_cast * _this, const char ** name) { TRACE("(%p %s)\n", _this, *name); @@ -445,7 +445,7 @@ /****************************************************************** * ??0bad_cast@@QAE@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_copy_ctor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_copy_ctor) bad_cast * __stdcall MSVCRT_bad_cast_copy_ctor(bad_cast * _this, const bad_cast * rhs) { TRACE("(%p %p)\n", _this, rhs); @@ -457,7 +457,7 @@ /****************************************************************** * ??1bad_cast@@UAE@XZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_dtor) void __stdcall MSVCRT_bad_cast_dtor(bad_cast * _this) { TRACE("(%p)\n", _this); @@ -467,7 +467,7 @@ /****************************************************************** * ??4bad_cast@@QAEAAV0@ABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_opequals); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_opequals) bad_cast * __stdcall MSVCRT_bad_cast_opequals(bad_cast * _this, const bad_cast * rhs) { TRACE("(%p %p)\n", _this, rhs); @@ -478,7 +478,7 @@ /****************************************************************** * ??_Ebad_cast@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_vector_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_vector_dtor) void * __stdcall MSVCRT_bad_cast_vector_dtor(bad_cast * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -501,7 +501,7 @@ /****************************************************************** * ??_Gbad_cast@@UAEPAXI@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_scalar_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_bad_cast_scalar_dtor) void * __stdcall MSVCRT_bad_cast_scalar_dtor(bad_cast * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags); @@ -513,7 +513,7 @@ /****************************************************************** * ??8type_info@@QBEHABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_opequals_equals); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_opequals_equals) int __stdcall MSVCRT_type_info_opequals_equals(type_info * _this, const type_info * rhs) { int ret = !strcmp(_this->mangled + 1, rhs->mangled + 1); @@ -524,7 +524,7 @@ /****************************************************************** * ??9type_info@@QBEHABV0@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_opnot_equals); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_opnot_equals) int __stdcall MSVCRT_type_info_opnot_equals(type_info * _this, const type_info * rhs) { int ret = !!strcmp(_this->mangled + 1, rhs->mangled + 1); @@ -535,7 +535,7 @@ /****************************************************************** * ?before@type_info@@QBEHABV1@@Z (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_before); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_before) int __stdcall MSVCRT_type_info_before(type_info * _this, const type_info * rhs) { int ret = strcmp(_this->mangled + 1, rhs->mangled + 1) < 0; @@ -546,7 +546,7 @@ /****************************************************************** * ??1type_info@@UAE@XZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_dtor) void __stdcall MSVCRT_type_info_dtor(type_info * _this) { TRACE("(%p)\n", _this); @@ -556,7 +556,7 @@ /****************************************************************** * ?name@type_info@@QBEPBDXZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_name); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_name) const char * __stdcall MSVCRT_type_info_name(type_info * _this) { if (!_this->name) @@ -597,7 +597,7 @@ /****************************************************************** * ?raw_name@type_info@@QBEPBDXZ (MSVCRT.@) */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_raw_name); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_raw_name) const char * __stdcall MSVCRT_type_info_raw_name(type_info * _this) { TRACE("(%p) returning %s\n", _this, _this->mangled); @@ -605,7 +605,7 @@ } /* Unexported */ -DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_vector_dtor); +DEFINE_THISCALL_WRAPPER(MSVCRT_type_info_vector_dtor) void * __stdcall MSVCRT_type_info_vector_dtor(type_info * _this, unsigned int flags) { TRACE("(%p %x)\n", _this, flags);
diff --git a/dlls/msvcrt/cppexcept.c b/dlls/msvcrt/cppexcept.c index 344e13d..81f4779 100644 --- a/dlls/msvcrt/cppexcept.c +++ b/dlls/msvcrt/cppexcept.c
@@ -422,7 +422,7 @@ "pushl 28(%esp)\n\t" /* rec */ "call " __ASM_NAME("cxx_frame_handler") "\n\t" "add $28,%esp\n\t" - "ret" ); + "ret" ) /*********************************************************************
diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c index 76bcb04..fd79926 100644 --- a/dlls/msvcrt/except.c +++ b/dlls/msvcrt/except.c
@@ -109,7 +109,7 @@ "movl %ebp, 12(%esp)\n\t" "leal 12(%esp), %ebp\n\t" "pushl %eax\n\t" - "ret"); + "ret") #endif /******************************************************************* @@ -286,7 +286,7 @@ "movl 12(%ecx),%esi\n\t" /* jmp_buf.Esi */ "movl 16(%ecx),%esp\n\t" /* jmp_buf.Esp */ "addl $4,%esp\n\t" /* get rid of return address */ - "jmp *20(%ecx)\n\t" /* jmp_buf.Eip */ ); + "jmp *20(%ecx)\n\t" /* jmp_buf.Eip */ ) /* * The signatures of the setjmp/longjmp functions do not match that @@ -297,7 +297,7 @@ /******************************************************************* * _setjmp (MSVCRT.@) */ -DEFINE_SETJMP_ENTRYPOINT(MSVCRT__setjmp); +DEFINE_SETJMP_ENTRYPOINT(MSVCRT__setjmp) int CDECL __regs_MSVCRT__setjmp(struct MSVCRT___JUMP_BUFFER *jmp) { jmp->Registration = (unsigned long)NtCurrentTeb()->Tib.ExceptionList; @@ -314,7 +314,7 @@ /******************************************************************* * _setjmp3 (MSVCRT.@) */ -DEFINE_SETJMP_ENTRYPOINT( MSVCRT__setjmp3 ); +DEFINE_SETJMP_ENTRYPOINT( MSVCRT__setjmp3 ) int CDECL __regs_MSVCRT__setjmp3(struct MSVCRT___JUMP_BUFFER *jmp, int nb_args, ...) { jmp->Cookie = MSVCRT_JMP_MAGIC;
diff --git a/dlls/msvcrt/misc.c b/dlls/msvcrt/misc.c index 99f5214..bb6d1f0 100644 --- a/dlls/msvcrt/misc.c +++ b/dlls/msvcrt/misc.c
@@ -148,7 +148,7 @@ "popl %ecx\n\t" "popl %eax\n\t" "leave\n\t" - "ret"); + "ret") void CDECL MSVCRT_chkesp_fail(void) {
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index 999687a..3e3bc05 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c
@@ -150,7 +150,7 @@ "leal -4(%ebp),%esp\n\t" "popl %ebx\n\t" "popl %ebp\n\t" - "ret" ); + "ret" ) #else /* __i386__ */ static inline BOOL call_dll_entry_point( DLLENTRYPROC proc, void *module, UINT reason, void *reserved )
diff --git a/dlls/ntdll/relay.c b/dlls/ntdll/relay.c index 9872474..6bfd609 100644 --- a/dlls/ntdll/relay.c +++ b/dlls/ntdll/relay.c
@@ -360,7 +360,7 @@ "\tpopl %edi\n" "\tpopl %esi\n" "\tpopl %ebp\n" - "\tret" ); + "\tret" ) /***********************************************************************
diff --git a/dlls/ntdll/resource.c b/dlls/ntdll/resource.c index 3e6ffbf..5660962 100644 --- a/dlls/ntdll/resource.c +++ b/dlls/ntdll/resource.c
@@ -371,7 +371,7 @@ "call " __ASM_NAME("access_resource") "\n\t" "leave\n\t" "ret $16" -); +) #else NTSTATUS WINAPI LdrAccessResource( HMODULE hmod, const IMAGE_RESOURCE_DATA_ENTRY *entry, void **ptr, ULONG *size )
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c index 3ff5cb0..8ddab6a 100644 --- a/dlls/ntdll/rtl.c +++ b/dlls/ntdll/rtl.c
@@ -407,7 +407,7 @@ "xchgl %esp,%eax\n\t" "movl 0(%eax),%eax\n\t" /* copy return address from old location */ "movl %eax,0(%esp)\n\t" - "ret" ); + "ret" ) #endif /************************************************************************** @@ -422,7 +422,7 @@ "xchgl %esp,%eax\n\t" "movl 0(%eax),%eax\n\t" /* copy return address from old location */ "movl %eax,0(%esp)\n\t" - "ret" ); + "ret" ) #endif @@ -627,7 +627,7 @@ __ASM_GLOBAL_FUNC(NTDLL_RtlUlongByteSwap, "movl %ecx,%eax\n\t" "bswap %eax\n\t" - "ret"); + "ret") #endif /************************************************************************* @@ -642,7 +642,7 @@ __ASM_GLOBAL_FUNC(NTDLL_RtlUshortByteSwap, "movb %ch,%al\n\t" "movb %cl,%ah\n\t" - "ret"); + "ret") #endif
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c index 28824fc..fdbfb64 100644 --- a/dlls/ntdll/signal_i386.c +++ b/dlls/ntdll/signal_i386.c
@@ -130,7 +130,7 @@ ".globl " __ASM_NAME("vm86_return_end") "\n\t" __ASM_FUNC("vm86_return_end") "\n" __ASM_NAME("vm86_return_end") ":\n\t" - "ret" ); + "ret" ) #ifdef HAVE_SYS_VM86_H # define __HAVE_VM86 @@ -1477,12 +1477,12 @@ /********************************************************************** * DbgBreakPoint (NTDLL.@) */ -__ASM_GLOBAL_FUNC( DbgBreakPoint, "int $3; ret"); +__ASM_GLOBAL_FUNC( DbgBreakPoint, "int $3; ret") /********************************************************************** * DbgUserBreakPoint (NTDLL.@) */ -__ASM_GLOBAL_FUNC( DbgUserBreakPoint, "int $3; ret"); +__ASM_GLOBAL_FUNC( DbgUserBreakPoint, "int $3; ret") /********************************************************************** @@ -1509,7 +1509,7 @@ " popl %ebx\n" " leave\n" " ret\n" -); +) __ASM_GLOBAL_FUNC(call_exception_handler, " pushl %ebp\n" " movl %esp, %ebp\n" @@ -1533,5 +1533,5 @@ " movl %ebp, %esp\n" /* restore saved stack, in case it was corrupted */ " popl %ebp\n" " ret $20\n" /* (*4) */ -); +) #endif /* __i386__ */
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c index ae02a99..53a24e5 100644 --- a/dlls/ntdll/signal_x86_64.c +++ b/dlls/ntdll/signal_x86_64.c
@@ -520,11 +520,11 @@ /********************************************************************** * DbgBreakPoint (NTDLL.@) */ -__ASM_GLOBAL_FUNC( DbgBreakPoint, "int $3; ret"); +__ASM_GLOBAL_FUNC( DbgBreakPoint, "int $3; ret") /********************************************************************** * DbgUserBreakPoint (NTDLL.@) */ -__ASM_GLOBAL_FUNC( DbgUserBreakPoint, "int $3; ret"); +__ASM_GLOBAL_FUNC( DbgUserBreakPoint, "int $3; ret") #endif /* __x86_64__ */
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index 8684b36..cf96186 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c
@@ -1309,7 +1309,7 @@ */ #if defined(__i386__) && defined(__GNUC__) -__ASM_GLOBAL_FUNC( NtCurrentTeb, ".byte 0x64\n\tmovl 0x18,%eax\n\tret" ); +__ASM_GLOBAL_FUNC( NtCurrentTeb, ".byte 0x64\n\tmovl 0x18,%eax\n\tret" ) #elif defined(__i386__) && defined(_MSC_VER)
diff --git a/dlls/riched20/txtsrv.c b/dlls/riched20/txtsrv.c index 6613e4e..09d7287 100644 --- a/dlls/riched20/txtsrv.c +++ b/dlls/riched20/txtsrv.c
@@ -346,24 +346,24 @@ return E_NOTIMPL; } -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSendMessage); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxDraw); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetHScroll); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetVScroll); -DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxSetCursor); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxQueryHitPoint); -DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInplaceActivate); -DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInplaceDeactivate); -DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIActivate); -DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIDeactivate); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetText); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSetText); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCurrentTargetX); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetBaseLinePos); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetNaturalSize); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetDropTarget); -DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxPropertyBitsChange); -DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCachedSize); +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSendMessage) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxDraw) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetHScroll) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetVScroll) +DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxSetCursor) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxQueryHitPoint) +DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInplaceActivate) +DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInplaceDeactivate) +DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIActivate) +DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIDeactivate) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetText) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSetText) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCurrentTargetX) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetBaseLinePos) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetNaturalSize) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetDropTarget) +DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxPropertyBitsChange) +DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCachedSize) static const ITextServicesVtbl textservices_Vtbl = {
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index cd6314c..dbe500e 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c
@@ -1036,7 +1036,7 @@ "popl %esi\n\t" /* Restore registers */ "popl %edi\n\t" "popl %ebp\n\t" - "ret\n" ); + "ret\n" ) #else #warning call_server_func not implemented for your architecture LONG_PTR __cdecl call_server_func(SERVER_ROUTINE func, unsigned char * args, unsigned short stack_size)
diff --git a/dlls/user32/winproc.c b/dlls/user32/winproc.c index e4a5c5a..c51e34c 100644 --- a/dlls/user32/winproc.c +++ b/dlls/user32/winproc.c
@@ -278,7 +278,7 @@ "popl %esi\n\t" "popl %edi\n\t" "leave\n\t" - "ret" ); + "ret" ) #else static inline LRESULT WINPROC_wrapper( WNDPROC proc, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam )