Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Fix prototypes to match definitions
details: https://anonhg.NetBSD.org/src/rev/5e1a7982f643
branches: trunk
changeset: 336890:5e1a7982f643
user: justin <justin%NetBSD.org@localhost>
date: Thu Mar 26 11:59:38 2015 +0000
description:
Fix prototypes to match definitions
diffstat:
lib/libm/src/math_private.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (47 lines):
diff -r 3f89cacb3d21 -r 5e1a7982f643 lib/libm/src/math_private.h
--- a/lib/libm/src/math_private.h Thu Mar 26 11:31:57 2015 +0000
+++ b/lib/libm/src/math_private.h Thu Mar 26 11:59:38 2015 +0000
@@ -11,7 +11,7 @@
/*
* from: @(#)fdlibm.h 5.1 93/09/24
- * $NetBSD: math_private.h,v 1.21 2014/03/14 22:21:31 dsl Exp $
+ * $NetBSD: math_private.h,v 1.22 2015/03/26 11:59:38 justin Exp $
*/
#ifndef _MATH_PRIVATE_H_
@@ -252,7 +252,7 @@
extern double __ieee754_jn __P((int,double));
extern double __ieee754_yn __P((int,double));
extern double __ieee754_remainder __P((double,double));
-extern int __ieee754_rem_pio2 __P((double,double*));
+extern int32_t __ieee754_rem_pio2 __P((double,double*));
extern double __ieee754_scalb __P((double,double));
/* fdlibm kernel function */
@@ -260,7 +260,7 @@
extern double __kernel_sin __P((double,double,int));
extern double __kernel_cos __P((double,double));
extern double __kernel_tan __P((double,double,int));
-extern int __kernel_rem_pio2 __P((double*,double*,int,int,int,const int*));
+extern int __kernel_rem_pio2 __P((double*,double*,int,int,int,const int32_t*));
/* ieee style elementary float functions */
@@ -290,14 +290,14 @@
extern float __ieee754_jnf __P((int,float));
extern float __ieee754_ynf __P((int,float));
extern float __ieee754_remainderf __P((float,float));
-extern int __ieee754_rem_pio2f __P((float,float*));
+extern int32_t __ieee754_rem_pio2f __P((float,float*));
extern float __ieee754_scalbf __P((float,float));
/* float versions of fdlibm kernel functions */
extern float __kernel_sinf __P((float,float,int));
extern float __kernel_cosf __P((float,float));
extern float __kernel_tanf __P((float,float,int));
-extern int __kernel_rem_pio2f __P((float*,float*,int,int,int,const int*));
+extern int __kernel_rem_pio2f __P((float*,float*,int,int,int,const int32_t*));
/* ieee style elementary long double functions */
extern long double __ieee754_fmodl(long double, long double);
Home |
Main Index |
Thread Index |
Old Index