diff options
author | 1998-03-02 23:34:43 +0000 | |
---|---|---|
committer | 1998-03-02 23:34:43 +0000 | |
commit | 8a6ea2528330cd2543225d1ae5e07ee7eada5ba9 (patch) | |
tree | 8b2d6cb0d9a81140770c4266612fa5a753769380 /lib/libm/src | |
parent | double the number of rounds (crank log(round) by one) to take improved (diff) | |
download | wireguard-openbsd-8a6ea2528330cd2543225d1ae5e07ee7eada5ba9.tar.xz wireguard-openbsd-8a6ea2528330cd2543225d1ae5e07ee7eada5ba9.zip |
protect internal "struct excpption" from conflicting one in gcc.
Diffstat (limited to 'lib/libm/src')
-rw-r--r-- | lib/libm/src/math.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libm/src/math.h b/lib/libm/src/math.h index 0c9a51bc941..8ef728f1400 100644 --- a/lib/libm/src/math.h +++ b/lib/libm/src/math.h @@ -11,7 +11,7 @@ /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $Id: math.h,v 1.3 1998/03/02 00:53:19 millert Exp $ + * $Id: math.h,v 1.4 1998/03/02 23:34:46 millert Exp $ */ #ifndef _MATH_H_ @@ -64,7 +64,7 @@ extern _LIB_VERSION_TYPE _LIB_VERSION; #define _XOPEN_ fdlibm_xopen #define _POSIX_ fdlibm_posix -#ifndef __cplusplus +#ifdef __LIBM_PRIVATE struct exception { int type; char *name; @@ -152,7 +152,9 @@ extern double nextafter __P((double, double)); extern double remainder __P((double, double)); extern double scalb __P((double, double)); +#ifdef __LIBM_PRIVATE extern int matherr __P((struct exception *)); +#endif /* * IEEE Test Vector |