From 2464ecbf64d1cd890fe52492b4ccf8ace348f9aa Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 22 Nov 2013 01:17:42 +0000 Subject: [PATCH] 2013-11-21 Daniel Ramirez * libc/sys/linux/statvfs.c (statvfs): Added restrict keyword. --- newlib/ChangeLog | 4 ++++ newlib/libc/sys/linux/statvfs.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0d817578b..e66924f15 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2013-11-21 Daniel Ramirez + + * libc/sys/linux/statvfs.c (statvfs): Added restrict keyword. + 2013-11-21 Joel Sherrill * libc/sys/rdos/chown.c, libc/sys/rdos/close.c, libc/sys/rdos/execve.c, diff --git a/newlib/libc/sys/linux/statvfs.c b/newlib/libc/sys/linux/statvfs.c index 4b0d51abd..be125c292 100644 --- a/newlib/libc/sys/linux/statvfs.c +++ b/newlib/libc/sys/linux/statvfs.c @@ -30,7 +30,7 @@ int -statvfs (const char *file, struct statvfs *buf) +statvfs (const char *__restrict file, struct statvfs *__restrict buf) { struct statfs fsbuf; struct stat64 st;