From 7afc8b539d126fb658bd0e1f331a430f852d791f Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 13 Dec 2005 09:22:15 +0000 Subject: Sync w/ glibc --- libc/sysdeps/linux/common/bits/statfs.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/bits/statfs.h b/libc/sysdeps/linux/common/bits/statfs.h index 78c9bdbbc..e115c4d75 100644 --- a/libc/sysdeps/linux/common/bits/statfs.h +++ b/libc/sysdeps/linux/common/bits/statfs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 2000, 2002, 2003 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 @@ -20,12 +20,12 @@ # error "Never include directly; use instead." #endif -#include /* for __fsid_t and __fsblkcnt_t*/ +#include struct statfs { - int f_type; - int f_bsize; + __SWORD_TYPE f_type; + __SWORD_TYPE f_bsize; #ifndef __USE_FILE_OFFSET64 __fsblkcnt_t f_blocks; __fsblkcnt_t f_bfree; @@ -40,25 +40,25 @@ struct statfs __fsfilcnt64_t f_ffree; #endif __fsid_t f_fsid; - int f_namelen; - int f_spare[6]; + __SWORD_TYPE f_namelen; + __SWORD_TYPE f_spare[5]; }; #ifdef __USE_LARGEFILE64 struct statfs64 { - int f_type; - int f_bsize; + __SWORD_TYPE f_type; + __SWORD_TYPE f_bsize; __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; __fsfilcnt64_t f_files; __fsfilcnt64_t f_ffree; __fsid_t f_fsid; - int f_namelen; - int f_spare[6]; + __SWORD_TYPE f_namelen; + __SWORD_TYPE f_spare[5]; }; #endif -/* Tell code we have this member. */ +/* Tell code we have these members. */ #define _STATFS_F_NAMELEN -- cgit v1.2.3