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/stat/fstat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/stat/fstat.c') diff --git a/src/stat/fstat.c b/src/stat/fstat.c index ab4afc0f..f6d16522 100644 --- a/src/stat/fstat.c +++ b/src/stat/fstat.c @@ -4,8 +4,6 @@ #include "syscall.h" #include "libc.h" -void __procfdname(char *, unsigned); - int fstat(int fd, struct stat *st) { int ret = __syscall(SYS_fstat, fd, st); -- cgit 1.4.1