From f695df295da82c8ef801906ad8b00b0e8afa7502 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Thu, 7 Mar 2019 09:27:31 -0800 Subject: Remove legacy BSP Signed-off-by: Nathaniel Graff --- bsp/libwrap/sys/fstat.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 bsp/libwrap/sys/fstat.c (limited to 'bsp/libwrap/sys/fstat.c') diff --git a/bsp/libwrap/sys/fstat.c b/bsp/libwrap/sys/fstat.c deleted file mode 100644 index ff82bf9..0000000 --- a/bsp/libwrap/sys/fstat.c +++ /dev/null @@ -1,18 +0,0 @@ -/* See LICENSE of license details. */ - -#include -#include -#include -#include "stub.h" -#include "weak_under_alias.h" - -int __wrap_fstat(int fd, struct stat* st) -{ - if (isatty(fd)) { - st->st_mode = S_IFCHR; - return 0; - } - - return _stub(EBADF); -} -weak_under_alias(fstat); -- cgit v1.2.3