summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-06 13:39:08 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:27 -0400
commit6fcd60ddd903df13402704fe6026cb1f8e780fd7 (patch)
tree5475b677c1514068925bf7215cb344c966a619bd /src/misc
parentc221d3e5862e249b03aa7569d5fec6389294fb22 (diff)
downloadmusl-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/misc')
-rw-r--r--src/misc/realpath.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/misc/realpath.c b/src/misc/realpath.c
index 88c849cd..d2708e59 100644
--- a/src/misc/realpath.c
+++ b/src/misc/realpath.c
@@ -7,8 +7,6 @@
#include <string.h>
#include "syscall.h"
-void __procfdname(char *, unsigned);
-
char *realpath(const char *restrict filename, char *restrict resolved)
{
int fd;