From 46471257e90bdc2c46e03a6371a329f8cac34d0c Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 17 Nov 2009 22:35:46 +0000 Subject: [PATCH] 2009-11-17 Yaakov Selkowitz * libm/common/fdlibm.h (logb, logbf): Move decls from here... * libc/include/math.h (logb, logbf): ...to here. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/math.h | 2 ++ newlib/libm/common/fdlibm.h | 2 -- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 8be491571..8e8244328 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2009-11-17 Yaakov Selkowitz + + * libm/common/fdlibm.h (logb, logbf): Move decls from here... + * libc/include/math.h (logb, logbf): ...to here. + 2009-11-06 Jon Turney * libc/include/ctype.h (__ctype_lookup): Fix precedence. diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index c1bc7b04a..7571e46a0 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -236,6 +236,7 @@ extern double infinity _PARAMS((void)); extern double nan _PARAMS((const char *)); extern int finite _PARAMS((double)); extern double copysign _PARAMS((double, double)); +extern double logb _PARAMS((double)); extern int ilogb _PARAMS((double)); extern double asinh _PARAMS((double)); @@ -332,6 +333,7 @@ extern float infinityf _PARAMS((void)); extern float nanf _PARAMS((const char *)); extern int finitef _PARAMS((float)); extern float copysignf _PARAMS((float, float)); +extern float logbf _PARAMS((float)); extern int ilogbf _PARAMS((float)); extern float asinhf _PARAMS((float)); diff --git a/newlib/libm/common/fdlibm.h b/newlib/libm/common/fdlibm.h index 7a0f28db4..3877ff2dc 100644 --- a/newlib/libm/common/fdlibm.h +++ b/newlib/libm/common/fdlibm.h @@ -139,7 +139,6 @@ /* Functions that are not documented, and are not in . */ -extern double logb __P((double)); #ifdef _SCALB_INT extern double scalb __P((double, int)); #else @@ -186,7 +185,6 @@ extern double __kernel_tan __P((double,double,int)); extern int __kernel_rem_pio2 __P((double*,double*,int,int,int,const __int32_t*)); /* Undocumented float functions. */ -extern float logbf __P((float)); #ifdef _SCALB_INT extern float scalbf __P((float, int)); #else