diff options
| author | 2008-06-21 08:26:19 +0000 | |
|---|---|---|
| committer | 2008-06-21 08:26:19 +0000 | |
| commit | 044349e209ed7c0d938f3f207aa909b446b9de0d (patch) | |
| tree | e68aabba2fd2848ea79105dcec43530648cca78d /lib/libm/src | |
| parent | use optopt to get invalid flag, instead of return value of getopt, (diff) | |
| download | wireguard-openbsd-044349e209ed7c0d938f3f207aa909b446b9de0d.tar.xz wireguard-openbsd-044349e209ed7c0d938f3f207aa909b446b9de0d.zip | |
cleaning up, no functional changes
- no support for National 32000, removing ns32000/national ifdefs maze
- remove tahoe defs
- ansify
looks fine to millert@; who also noticed rint removal
Diffstat (limited to 'lib/libm/src')
| -rw-r--r-- | lib/libm/src/b_exp__D.c | 5 | ||||
| -rw-r--r-- | lib/libm/src/e_j0.c | 8 | ||||
| -rw-r--r-- | lib/libm/src/w_scalbf.c | 2 |
3 files changed, 8 insertions, 7 deletions
diff --git a/lib/libm/src/b_exp__D.c b/lib/libm/src/b_exp__D.c index 18f4452d7d5..45cbfe81eda 100644 --- a/lib/libm/src/b_exp__D.c +++ b/lib/libm/src/b_exp__D.c @@ -1,4 +1,4 @@ -/* $OpenBSD: b_exp__D.c,v 1.1 2008/06/11 20:53:27 martynas Exp $ */ +/* $OpenBSD: b_exp__D.c,v 1.2 2008/06/21 08:26:19 martynas Exp $ */ /* * Copyright (c) 1985, 1993 * The Regents of the University of California. All rights reserved. @@ -84,7 +84,8 @@ const static double invln2 = 0x1.71547652b82fep0; /* returns exp(r = x + c) for |c| < |x| with no overlap. */ -double __exp__D(double x, double c) +double +__exp__D(double x, double c) { double z, hi, lo; int k; diff --git a/lib/libm/src/e_j0.c b/lib/libm/src/e_j0.c index ace9def2a59..d49297ca8f3 100644 --- a/lib/libm/src/e_j0.c +++ b/lib/libm/src/e_j0.c @@ -268,8 +268,8 @@ static const double pS2[5] = { 1.46576176948256193810e+01, /* 0x402D50B3, 0x44391809 */ }; -static -double pzero(double x) +static double +pzero(double x) { const double *p,*q; double z,r,s; @@ -364,8 +364,8 @@ static const double qS2[6] = { -5.31095493882666946917e+00, /* 0xC0153E6A, 0xF8B32931 */ }; -static -double qzero(double x) +static double +qzero(double x) { const double *p,*q; double s,r,z; diff --git a/lib/libm/src/w_scalbf.c b/lib/libm/src/w_scalbf.c index 651296b82c6..9542611f1b6 100644 --- a/lib/libm/src/w_scalbf.c +++ b/lib/libm/src/w_scalbf.c @@ -28,7 +28,7 @@ static char rcsid[] = "$NetBSD: w_scalbf.c,v 1.3 1995/05/10 20:49:50 jtc Exp $"; #include <errno.h> -float +float #ifdef _SCALB_INT scalbf(float x, int fn) /* wrapper scalbf */ #else |
