aboutsummaryrefslogtreecommitdiff
path: root/lib/msun
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-08-31 22:12:19 +0000
committerBruce Evans <bde@FreeBSD.org>1997-08-31 22:12:19 +0000
commit6a9280be8c9480cab42a9a08d016124b1a8b9318 (patch)
tree8495d2057d8655f530cdb70d392ca831add22030 /lib/msun
parent4447a79bf7014e4a2c67a2a885a56efb9a8f4519 (diff)
Notes
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/math.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 6282b1058de4..d4fe9e693bdb 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -11,7 +11,7 @@
/*
* from: @(#)fdlibm.h 5.1 93/09/24
- * $Id$
+ * $Id: math.h,v 1.4 1997/02/22 15:10:54 peter Exp $
*/
#ifndef _MATH_H_
@@ -64,6 +64,7 @@ extern _LIB_VERSION_TYPE _LIB_VERSION;
#define _XOPEN_ fdlibm_xopen
#define _POSIX_ fdlibm_posix
+#ifndef __cplusplus
struct exception {
int type;
char *name;
@@ -71,6 +72,7 @@ struct exception {
double arg2;
double retval;
};
+#endif
#define HUGE MAXFLOAT
@@ -150,7 +152,9 @@ extern double nextafter __P((double, double));
extern double remainder __P((double, double));
extern double scalb __P((double, double));
+#ifndef __cplusplus
extern int matherr __P((struct exception *));
+#endif
/*
* IEEE Test Vector