From 6fcd60ddd903df13402704fe6026cb1f8e780fd7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 6 Sep 2018 13:39:08 -0400 Subject: 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/process/fexecve.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/process') diff --git a/src/process/fexecve.c b/src/process/fexecve.c index 8be3f760..554c1981 100644 --- a/src/process/fexecve.c +++ b/src/process/fexecve.c @@ -4,8 +4,6 @@ #include #include "syscall.h" -void __procfdname(char *, unsigned); - int fexecve(int fd, char *const argv[], char *const envp[]) { int r = __syscall(SYS_execveat, fd, "", argv, envp, AT_EMPTY_PATH); -- cgit v1.2.1