summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/dirent.h
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-12-14 15:29:06 +0900
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-15 20:01:14 +0000
commitc55cb0c0bcf04c7ad1f6f48d914850f516bd106c (patch)
tree973b776ec66dad876f42e3f89f641c216597e2c2 /libc/sysdeps/linux/common/bits/dirent.h
parentfef474b437d14723f4b97608472f821ca67834b1 (diff)
syscall: Make common implementation match unistd.h
The definition of syscall() in unistd.h is with varargs. Traditionally the common implementation in uclibc has been with regular arguments. This patch updates that by using varargs. This has caused issues on architectures like or1k which have different calling conventions for varargs and regular arg parameters. The implementation here is based on an implementation from Joel Stanley <joel@jms.id.au>. There is a difference that I do not initialize the stack args with 0 as they are immediately overwritten by va_args. Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/dirent.h')
0 files changed, 0 insertions, 0 deletions