summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/errno.c')
-rw-r--r--libc/sysdeps/linux/m68k/errno.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/errno.c b/libc/sysdeps/linux/m68k/errno.c
new file mode 100644
index 000000000..7c46530d9
--- /dev/null
+++ b/libc/sysdeps/linux/m68k/errno.c
@@ -0,0 +1,9 @@
+#include <errno.h>
+
+int errno = 0;
+
+int *
+__errno_location ( void )
+{
+ return &errno;
+}