Module: wine Branch: master Commit: 88dc2d0e685a97816405651ba4a542d2951062cf URL: https://source.winehq.org/git/wine.git/?a=commit;h=88dc2d0e685a97816405651ba...
Author: Piotr Caban piotr@codeweavers.com Date: Sun May 23 16:36:44 2021 +0200
msvcrt: Remove cos from unixlib.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msvcrt/unixlib.c | 9 --------- dlls/msvcrt/unixlib.h | 1 - 2 files changed, 10 deletions(-)
diff --git a/dlls/msvcrt/unixlib.c b/dlls/msvcrt/unixlib.c index 70c59d281de..5e80f319255 100644 --- a/dlls/msvcrt/unixlib.c +++ b/dlls/msvcrt/unixlib.c @@ -121,14 +121,6 @@ static float CDECL unix_atanhf(float x) #endif }
-/********************************************************************* - * cos - */ -static double CDECL unix_cos( double x ) -{ - return cos( x ); -} - /********************************************************************* * cosf */ @@ -493,7 +485,6 @@ static const struct unix_funcs funcs = unix_asinhf, unix_atanh, unix_atanhf, - unix_cos, unix_cosf, unix_cosh, unix_coshf, diff --git a/dlls/msvcrt/unixlib.h b/dlls/msvcrt/unixlib.h index a55454d3f59..0f9121723f1 100644 --- a/dlls/msvcrt/unixlib.h +++ b/dlls/msvcrt/unixlib.h @@ -29,7 +29,6 @@ struct unix_funcs float (CDECL *asinhf)(float x); double (CDECL *atanh)(double x); float (CDECL *atanhf)(float x); - double (CDECL *cos)(double x); float (CDECL *cosf)(float x); double (CDECL *cosh)(double x); float (CDECL *coshf)(float x);