Correct signed/unsigned-ness of blkcnt and fsblkcnt.

This commit is contained in:
Ulrich Drepper 1999-04-16 17:06:33 +00:00
parent 7483ee1131
commit d33ecfde38
2 changed files with 10 additions and 10 deletions

View File

@ -59,11 +59,11 @@ typedef __int32_t __pid_t; /* Type of process identifications. */
typedef __int64_t __ssize_t; /* Type of a byte count, or error. */
typedef __int64_t __rlim_t; /* Type of resource counts. */
typedef __int64_t __rlim64_t; /* "" (LFS) */
typedef __int32_t __blkcnt_t; /* Type to count nr disk blocks. */
typedef __int64_t __blkcnt64_t; /* "" (LFS) */
typedef __uint32_t __fsblkcnt_t; /* Type to count file system blocks. */
typedef __uint64_t __fsblkcnt64_t; /* "" (LFS) */
typedef __uint32_t __fsfilcnt_t; /* Type to count file system inodes. */
typedef __uint32_t __blkcnt_t; /* Type to count nr disk blocks. */
typedef __uint64_t __blkcnt64_t; /* "" (LFS) */
typedef __int32_t __fsblkcnt_t; /* Type to count file system blocks. */
typedef __int64_t __fsblkcnt64_t; /* "" (LFS) */
typedef __uint32_t __fsfilcnt_t; /* Type to count file system inodes. */
typedef __uint64_t __fsfilcnt64_t; /* "" (LFS) */
typedef __uint32_t __id_t; /* General type for IDs. */

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
/* Copyright (C) 1991,92,94,95,96,97,98,99 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
@ -120,12 +120,12 @@ typedef long int __ipc_pid_t;
/* Types from the Large File Support interface. */
/* Type to count number os disk blocks. */
typedef __u_long __blkcnt_t;
typedef __u_quad_t __blkcnt64_t;
typedef long int __blkcnt_t;
typedef __quad_t __blkcnt64_t;
/* Type to count file system blocks. */
typedef long int __fsblkcnt_t;
typedef __quad_t __fsblkcnt64_t;
typedef __u_long __fsblkcnt_t;
typedef __u_quad_t __fsblkcnt64_t;
/* Type to count file system inodes. */
typedef __u_long __fsfilcnt_t;