move and deduplicate declarations of __procfdname to make it checkable
authorRich Felker <dalias@aerifal.cx>
Thu, 6 Sep 2018 17:39:08 +0000 (13:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:27 +0000 (14:34 -0400)
commit6fcd60ddd903df13402704fe6026cb1f8e780fd7
tree5475b677c1514068925bf7215cb344c966a619bd
parentc221d3e5862e249b03aa7569d5fec6389294fb22
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.
src/internal/procfdname.c
src/internal/syscall.h
src/misc/realpath.c
src/process/fexecve.c
src/stat/fchmod.c
src/stat/fchmodat.c
src/stat/fstat.c
src/unistd/fchdir.c
src/unistd/fchown.c
src/unistd/ttyname_r.c