aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/msun/src/math.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index aecc652ea08a..25bd64e36a63 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -508,6 +508,9 @@ long double lgammal_r(long double, int *);
void sincos(double, double *, double *);
void sincosf(float, float *, float *);
void sincosl(long double, long double *, long double *);
+#endif /* __BSD_VISIBLE */
+
+#if __ISO_C_VISIBLE >= 2023
double cospi(double);
float cospif(float);
long double cospil(long double);
@@ -517,7 +520,7 @@ long double sinpil(long double);
double tanpi(double);
float tanpif(float);
long double tanpil(long double);
-#endif
+#endif /* __ISO_C_VISIBLE >= 2023 */
__END_DECLS