diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-06 13:39:08 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:27 -0400 |
commit | 6fcd60ddd903df13402704fe6026cb1f8e780fd7 (patch) | |
tree | 5475b677c1514068925bf7215cb344c966a619bd /src/internal/syscall.h | |
parent | c221d3e5862e249b03aa7569d5fec6389294fb22 (diff) | |
download | musl-6fcd60ddd903df13402704fe6026cb1f8e780fd7.tar.gz musl-6fcd60ddd903df13402704fe6026cb1f8e780fd7.tar.bz2 musl-6fcd60ddd903df13402704fe6026cb1f8e780fd7.tar.xz musl-6fcd60ddd903df13402704fe6026cb1f8e780fd7.zip |
move and deduplicate declarations of __procfdname to make it checkable
syscall.h was chosen as the header to declare it, since its intended
usage is alongside syscalls as a fallback for operations the direct
syscall does not support.
Diffstat (limited to 'src/internal/syscall.h')
-rw-r--r-- | src/internal/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/syscall.h b/src/internal/syscall.h index c12a46cd..5737f3a2 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -244,4 +244,6 @@ hidden long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...), #define __sys_open_cp(...) __SYSCALL_DISP(__sys_open_cp,,__VA_ARGS__) #define sys_open_cp(...) __syscall_ret(__sys_open_cp(__VA_ARGS__)) +void __procfdname(char [static 15+3*sizeof(int)], unsigned); + #endif |