summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2003-05-22 17:07:57 +0000
committermike <mike@FreeBSD.org>2003-05-22 17:07:57 +0000
commit272a8dbe20d0d09c58a5df3bfb72638dcae97b45 (patch)
treeb9e898779fabbf9709e1860e2540a0be814e7ca7
parent99b5c5ca725b6585db78f575894c74d7287f3a80 (diff)
downloadFreeBSD-src-272a8dbe20d0d09c58a5df3bfb72638dcae97b45.zip
FreeBSD-src-272a8dbe20d0d09c58a5df3bfb72638dcae97b45.tar.gz
Fix two misuses of __BSD_VISIBLE.
Submitted by: bde Approved by: re
-rw-r--r--lib/msun/src/math.h4
-rw-r--r--sys/sys/stat.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 0c69f8f..c8e426d 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -249,7 +249,7 @@ double log1p(double) __pure2;
* Reentrant version of gamma & lgamma; passes signgam back by reference
* as the second argument; user must allocate space for signgam.
*/
-#ifdef __BSD_VISIBLE
+#if __BSD_VISIBLE
double gamma_r(double, int *);
double lgamma_r(double, int *);
#endif /* __BSD_VISIBLE */
@@ -330,7 +330,7 @@ float log1pf(float) __pure2;
* signgam back by reference as the second argument; user must
* allocate space for signgam.
*/
-#ifdef __BSD_VISIBLE
+#if __BSD_VISIBLE
float gammaf_r(float, int *);
float lgammaf_r(float, int *);
#endif /* __BSD_VISIBLE */
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index 2c830a6..8ccead1 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -100,7 +100,7 @@ typedef __uid_t uid_t;
#include <sys/time.h>
#endif
-#ifndef __BSD_VISIBLE
+#if !__BSD_VISIBLE
#include <sys/_timespec.h>
#endif
OpenPOWER on IntegriCloud