From 98cbe360d947b59e7a5eda068581f4cfeb4b99b3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 21 Aug 2000 06:49:52 +0000 Subject: Update. * misc/sys/cdefs.h: Define __restrict_arr. * include/sys/time.h: Add restrict where required by AGd4. * inet/arpa/inet.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statvfs.h: Likewise. * misc/search.h: Likewise. * misc/sys/select.h: Likewise. * posix/glob.h: Likewise. * posix/regex.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/ucontext.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. * time/sys/time.h: Likewise. * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam and posix_spawnattr_setscheparam. * libio/stdio.h: Make cuserid prototype again available for all XPG versions. --- io/sys/statvfs.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'io/sys/statvfs.h') diff --git a/io/sys/statvfs.h b/io/sys/statvfs.h index 71335f324f..9134cb4cd9 100644 --- a/io/sys/statvfs.h +++ b/io/sys/statvfs.h @@ -49,18 +49,21 @@ __BEGIN_DECLS /* Return information about the filesystem on which FILE resides. */ #ifndef __USE_FILE_OFFSET64 -extern int statvfs (__const char *__file, struct statvfs *__buf) __THROW; +extern int statvfs (__const char *__restrict __file, + struct statvfs *__restrict __buf) __THROW; #else # ifdef __REDIRECT extern int __REDIRECT (statvfs, - (__const char *__file, struct statvfs *__buf) __THROW, + (__const char *__restrict __file, + struct statvfs *__restrict __buf) __THROW, statvfs64); # else # define statvfs statvfs64 # endif #endif #ifdef __USE_LARGEFILE64 -extern int statvfs64 (__const char *__file, struct statvfs64 *__buf) __THROW; +extern int statvfs64 (__const char *__restrict __file, + struct statvfs64 *__restrict __buf) __THROW; #endif /* Return information about the filesystem containing the file FILDES -- cgit v1.2.3