From 7c8bd7a075a84a4d9010334b0f0cfc6cf45f49a7 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 3 Jan 2008 00:16:49 +0000 Subject: 2008-01-02 Jeff Johnston * libc/syscalls/sysclose.c: Always call reentrant version of the underlying syscall since one is guaranteed to exist in libc/reent. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto. * libc/syscalls/syswrite.c: Ditto. --- newlib/libc/syscalls/sysfstat.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'newlib/libc/syscalls/sysfstat.c') diff --git a/newlib/libc/syscalls/sysfstat.c b/newlib/libc/syscalls/sysfstat.c index 7d446e825..864c0ab9c 100644 --- a/newlib/libc/syscalls/sysfstat.c +++ b/newlib/libc/syscalls/sysfstat.c @@ -8,9 +8,5 @@ _DEFUN (fstat, (fd, pstat), int fd _AND struct stat *pstat) { -#ifdef REENTRANT_SYSCALLS_PROVIDED return _fstat_r (_REENT, fd, pstat); -#else - return _fstat (fd, pstat); -#endif } -- cgit v1.2.3