summaryrefslogtreecommitdiffstats
path: root/libm
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-08 21:19:12 -0700
committerElliott Hughes <enh@google.com>2014-05-08 21:19:12 -0700
commitb4f2f28054bf89b1367a99f67a9e9b569e4fda06 (patch)
tree90b73423589c9c053181d596bc08aefd941dba24 /libm
parent170daa042cb0ef3e5d7839f79d052a683b3c670f (diff)
downloadbionic-b4f2f28054bf89b1367a99f67a9e9b569e4fda06.zip
bionic-b4f2f28054bf89b1367a99f67a9e9b569e4fda06.tar.gz
bionic-b4f2f28054bf89b1367a99f67a9e9b569e4fda06.tar.bz2
Declare sincos/sincosf/sincosl in <math.h>.
Change-Id: If7b98f98c7ab4d3d77d310be082bff64512d51a8
Diffstat (limited to 'libm')
-rw-r--r--libm/include/math.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libm/include/math.h b/libm/include/math.h
index 4d174f9..c264583 100644
--- a/libm/include/math.h
+++ b/libm/include/math.h
@@ -457,6 +457,13 @@ long double tgammal(long double);
long double truncl(long double);
#endif /* __ISO_C_VISIBLE >= 1999 */
+
+#if defined(_GNU_SOURCE)
+void sincos(double, double*, double*);
+void sincosf(float, float*, float*);
+void sincosl(long double, long double*, long double*);
+#endif /* _GNU_SOURCE */
+
__END_DECLS
#endif /* !_MATH_H_ */