summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-04 23:55:44 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-04 23:55:44 +0000
commit378883d1e0e3c1e8290fc05acb77fd4fce8969ff (patch)
treedb3dad4238c5417f4257bddc77633be3a8616482 /libc/sysdeps
parent4ed896210a0bd7597bf9c9df0909af4a6fc6d881 (diff)
use errno.h like in i386
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/m68k/bits/syscalls.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/syscalls.h b/libc/sysdeps/linux/m68k/bits/syscalls.h
index 05bc7b675..bccecbc61 100644
--- a/libc/sysdeps/linux/m68k/bits/syscalls.h
+++ b/libc/sysdeps/linux/m68k/bits/syscalls.h
@@ -4,15 +4,13 @@
# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
+#include <errno.h>
+
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
#include <bits/sysnum.h>
-#ifndef __set_errno
-# define __set_errno(val) (*__errno_location ()) = (val)
-#endif
-
#ifndef __ASSEMBLER__
/* Linux takes system call arguments in registers: