diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-15 15:17:37 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-15 15:17:37 +0100 |
commit | 59f4de4c45e126f5f20633808ce28548d5879b16 (patch) | |
tree | 2db061bafcebcac423ca7deeb152435c44944419 /modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch | |
parent | 5e902a4a9a25a9e151b5d3945c68517bc0c73139 (diff) | |
download | UXP-59f4de4c45e126f5f20633808ce28548d5879b16.tar UXP-59f4de4c45e126f5f20633808ce28548d5879b16.tar.gz UXP-59f4de4c45e126f5f20633808ce28548d5879b16.tar.lz UXP-59f4de4c45e126f5f20633808ce28548d5879b16.tar.xz UXP-59f4de4c45e126f5f20633808ce28548d5879b16.zip |
Issue #1291 - Part 4: Update patch files
Diffstat (limited to 'modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch')
-rw-r--r-- | modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch b/modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch index 2d89d08ef..4e5774ff0 100644 --- a/modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch +++ b/modules/fdlibm/patches/01_remove_unused_declarations_from_fdlibm_h.patch @@ -1,7 +1,7 @@ diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h --- a/modules/fdlibm/src/fdlibm.h +++ b/modules/fdlibm/src/fdlibm.h -@@ -12,496 +12,50 @@ +@@ -12,499 +12,49 @@ /* * from: @(#)fdlibm.h 5.1 93/09/24 * $FreeBSD$ @@ -242,15 +242,15 @@ diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h -double modf(double, double *); /* fundamentally !__pure2 */ double pow(double, double); - double sqrt(double); +-double sqrt(double); +double fabs(double); -+double floor(double); -+double trunc(double); - double ceil(double); +-double ceil(double); -double fabs(double) __pure2; --double floor(double); + double floor(double); -double fmod(double, double); ++double trunc(double); ++double ceil(double); -/* - * These functions are not in C90. @@ -368,13 +368,13 @@ diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h float floorf(float); -float fmodf(float, float); -float roundf(float); - +- -float erff(float); -float erfcf(float); -float hypotf(float, float); -float lgammaf(float); -float tgammaf(float); -- + -float acoshf(float); -float asinhf(float); -float atanhf(float); @@ -497,6 +497,9 @@ diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h - -#if __BSD_VISIBLE -long double lgammal_r(long double, int *); +-void sincos(double, double *, double *); +-void sincosf(float, float *, float *); +-void sincosl(long double, long double *, long double *); -#endif - -__END_DECLS |