OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e288fdc
)
Declare __err and pass it to INTERNAL_SYSCALL_NCS so subsequent macros can use it
author
Khem Raj
<raj.khem@gmail.com>
Fri, 3 Feb 2012 18:57:44 +0000
(10:57 -0800)
committer
Khem Raj
<raj.khem@gmail.com>
Sun, 5 Feb 2012 20:11:10 +0000
(12:11 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libc/sysdeps/linux/common/bits/syscalls-common.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/bits/syscalls-common.h
b/libc/sysdeps/linux/common/bits/syscalls-common.h
index
faebd1b
..
0f5a929
100644
(file)
--- a/
libc/sysdeps/linux/common/bits/syscalls-common.h
+++ b/
libc/sysdeps/linux/common/bits/syscalls-common.h
@@
-59,8
+59,8
@@
#ifndef INLINE_SYSCALL_NOERR_NCS
# define INLINE_SYSCALL_NOERR_NCS(name, nr, args...) \
({ \
-
/*INTERNAL_SYSCALL_DECL(__err);*/
\
- long __res = INTERNAL_SYSCALL_NCS(name,
/*__err*/, nr, args);
\
+
INTERNAL_SYSCALL_DECL(__err);
\
+ long __res = INTERNAL_SYSCALL_NCS(name,
__err, nr, args);
\
__res; \
})
#endif