]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/stub/s_exp2f.c
Update.
[thirdparty/glibc.git] / sysdeps / stub / s_exp2f.c
index 5d6540e07464dd8c937653e6afd4a7c1ae5b2a98..51b268c9e00adfc3b6b3309df90f21585f1869a9 100644 (file)
@@ -1,10 +1,12 @@
 #include <math.h>
 #include <stdio.h>
+#include <errno.h>
 
 float
 __exp2f (float x)
 {
   fputs ("__exp2f not implemented\n", stderr);
+  __set_errno (ENOSYS);
   return 0.0;
 }
 weak_alias (__exp2f, exp2f)