OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed8962
)
use errno.h like in i386
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 4 Nov 2005 23:55:44 +0000
(23:55 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 4 Nov 2005 23:55:44 +0000
(23:55 -0000)
libc/sysdeps/linux/m68k/bits/syscalls.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/m68k/bits/syscalls.h
b/libc/sysdeps/linux/m68k/bits/syscalls.h
index
05bc7b6
..
bccecbc
100644
(file)
--- 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: