summaryrefslogtreecommitdiffstats
path: root/newlib/libc/syscalls/sysfstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/syscalls/sysfstat.c')
-rw-r--r--newlib/libc/syscalls/sysfstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/syscalls/sysfstat.c b/newlib/libc/syscalls/sysfstat.c
index f167b3cd8..7d446e825 100644
--- a/newlib/libc/syscalls/sysfstat.c
+++ b/newlib/libc/syscalls/sysfstat.c
@@ -4,9 +4,9 @@
#include <unistd.h>
int
-fstat (fd, pstat)
- int fd;
- struct stat *pstat;
+_DEFUN (fstat, (fd, pstat),
+ int fd _AND
+ struct stat *pstat)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _fstat_r (_REENT, fd, pstat);