svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
psm at uclibc.org
psm at uclibc.org
Tue Dec 13 09:22:18 UTC 2005
Author: psm
Date: 2005-12-13 01:22:15 -0800 (Tue, 13 Dec 2005)
New Revision: 12859
Log:
Sync w/ glibc
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/statfs.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/statfs.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/statfs.h 2005-12-13 09:18:49 UTC (rev 12858)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/statfs.h 2005-12-13 09:22:15 UTC (rev 12859)
@@ -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 <bits/statfs.h> directly; use <sys/statfs.h> instead."
#endif
-#include <bits/types.h> /* for __fsid_t and __fsblkcnt_t*/
+#include <bits/types.h>
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 @@
__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
More information about the uClibc-cvs
mailing list