diff --git a/reactos/lib/sdk/crt/math/i386/atan_asm.s b/reactos/lib/sdk/crt/math/i386/atan_asm.s index 6b21e2d49da..06cb7b850df 100644 --- a/reactos/lib/sdk/crt/math/i386/atan_asm.s +++ b/reactos/lib/sdk/crt/math/i386/atan_asm.s @@ -14,9 +14,6 @@ /* FUNCTIONS ***************************************************************/ _atan: - push ebp - mov ebp,esp - fld qword ptr [ebp+8] - fpatan - pop ebp + fld qword ptr [esp+4] + fpatan ret diff --git a/reactos/lib/sdk/crt/math/i386/log10_asm.s b/reactos/lib/sdk/crt/math/i386/log10_asm.s index 6179f6221a2..624f1a12e61 100644 --- a/reactos/lib/sdk/crt/math/i386/log10_asm.s +++ b/reactos/lib/sdk/crt/math/i386/log10_asm.s @@ -15,11 +15,8 @@ /* FUNCTIONS ***************************************************************/ _log10: - push ebp - mov ebp,esp - fld qword ptr [ebp+8] - fldlg2 - fyl2x - pop ebp + fld qword ptr [esp+4] + fldlg2 + fyl2x ret