aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/s_atanl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/s_atanl.c')
-rw-r--r--sysdeps/stub/s_atanl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/stub/s_atanl.c b/sysdeps/stub/s_atanl.c
index 38dd6f5991..2957d702d5 100644
--- a/sysdeps/stub/s_atanl.c
+++ b/sysdeps/stub/s_atanl.c
@@ -1,10 +1,12 @@
#include <math.h>
#include <stdio.h>
+#include <errno.h>
long double
__atanl (long double x)
{
fputs ("__atanl not implemented\n", stderr);
+ __set_errno (ENOSYS);
return 0.0;
}
weak_alias (__atanl, atanl)