summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/errno.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-12 10:16:05 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-12 10:16:05 +0000
commit77879554671206102471bb282accb3251395d151 (patch)
tree4bc8854140028577b324e3ddaf05d043744618a3 /libc/sysdeps/linux/m68k/errno.c
parente4492b9c21b645018b2d7702665be8c1eb4a1b5c (diff)
Thanks to James Graves <jgraves@deltamobile.com>, we now have
a first pass at getting m68k working. It may have some problems, but should now be fairly close.
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;
+}