Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include protect the incomplete cabs declarations with #ifnde...
details: https://anonhg.NetBSD.org/src/rev/8693a71c84b7
branches: trunk
changeset: 501713:8693a71c84b7
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 05 23:36:38 2001 +0000
description:
protect the incomplete cabs declarations with #ifndef __MATH_PRIVATE__ so that
the code that defines the functions can declare them properly.
diffstat:
include/math.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 124f8406aada -r 8693a71c84b7 include/math.h
--- a/include/math.h Fri Jan 05 23:31:39 2001 +0000
+++ b/include/math.h Fri Jan 05 23:36:38 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: math.h,v 1.22 2000/06/13 01:21:53 simonb Exp $ */
+/* $NetBSD: math.h,v 1.23 2001/01/05 23:36:38 christos Exp $ */
/*
* ====================================================
@@ -183,7 +183,9 @@
/*
* BSD math library entry points
*/
+#ifndef __MATH_PRIVATE__
double cabs __P((/* struct complex { double r; double i; } */));
+#endif
double drem __P((double, double));
#endif /* !_ANSI_SOURCE && !_POSIX_C_SOURCE && !_XOPEN_SOURCE */
@@ -272,7 +274,9 @@
/*
* float versions of BSD math library entry points
*/
+#ifndef __MATH_PRIVATE__
float cabsf __P((/* struct complex { float r; float i; } */));
+#endif
float dremf __P((float, float));
float expm1f __P((float));
float log1pf __P((float));
Home |
Main Index |
Thread Index |
Old Index