Correct signed/unsigned-ness of blkcnt and fsblkcnt.
authorUlrich Drepper <drepper@redhat.com>
Fri, 16 Apr 1999 17:06:33 +0000 (17:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 16 Apr 1999 17:06:33 +0000 (17:06 +0000)
sysdeps/unix/sysv/linux/alpha/bits/types.h
sysdeps/unix/sysv/linux/mips/bits/types.h

index 0bc6cf6..0af9fb3 100644 (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.  */
 
index 36a1e0e..51d9fcd 100644 (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;