From 867506f3b0f0c23128d601a8812de023078c88b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 20 Mar 1998 16:35:19 +0000 Subject: Update. 1998-03-20 16:24 Ulrich Drepper * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64. * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h. * io/sys/statvfs.h: New file. * sysdeps/generic/fstatvfs.h: New file. * sysdeps/generic/statvfs.h: New file. * sysdeps/generic/fstatvfs64.h: New file. * sysdeps/generic/statvfs64.h: New file. * sysdeps/generic/bits/statvfs.h: New file. * sysdeps/unix/sysv/linux/fstatvfs.c: New file. * sysdeps/unix/sysv/linux/statvfs.c: New file. * sysdeps/unix/sysv/linux/bits/statvfs.h: New file. * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files and f_ffree elements. * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define mount options in enum. --- sysdeps/unix/sysv/linux/bits/statfs.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sysdeps/unix/sysv/linux/bits/statfs.h') diff --git a/sysdeps/unix/sysv/linux/bits/statfs.h b/sysdeps/unix/sysv/linux/bits/statfs.h index a56ed79e7c..31ae564b46 100644 --- a/sysdeps/unix/sysv/linux/bits/statfs.h +++ b/sysdeps/unix/sysv/linux/bits/statfs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,14 +30,14 @@ struct statfs __fsblkcnt_t f_blocks; __fsblkcnt_t f_bfree; __fsblkcnt_t f_bavail; - __fsblkcnt_t f_files; - __fsblkcnt_t f_ffree; + __fsfilcnt_t f_files; + __fsfilcnt_t f_ffree; #else __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; - __fsblkcnt64_t f_files; - __fsblkcnt64_t f_ffree; + __fsfilcnt64_t f_files; + __fsfilcnt64_t f_ffree; #endif __fsid_t f_fsid; int f_namelen; @@ -52,8 +52,8 @@ struct statfs64 __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; - __fsblkcnt64_t f_files; - __fsblkcnt64_t f_ffree; + __fsfilcnt64_t f_files; + __fsfilcnt64_t f_ffree; __fsid_t f_fsid; int f_namelen; int f_spare[6]; -- cgit v1.2.3