From f739f8a81ecb36242ea5f796a7e154a9cc3974b6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 18 Aug 1999 07:47:37 +0000 Subject: [PATCH] Define __blksize_t. --- sysdeps/unix/sysv/linux/alpha/bits/types.h | 5 +++-- sysdeps/unix/sysv/linux/mips/bits/types.h | 3 +++ sysdeps/unix/sysv/sysv4/solaris2/bits/types.h | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/alpha/bits/types.h b/sysdeps/unix/sysv/linux/alpha/bits/types.h index 4bc43199d51..d98ed8ad8c8 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/types.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/types.h @@ -59,8 +59,9 @@ 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 __uint32_t __blkcnt_t; /* Type to count nr disk blocks. */ -typedef __uint64_t __blkcnt64_t; /* "" (LFS) */ +typedef __uint32_t __blksize_t; /* Type to represnet block size. */ +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. */ diff --git a/sysdeps/unix/sysv/linux/mips/bits/types.h b/sysdeps/unix/sysv/linux/mips/bits/types.h index d7176c31c63..37c3f21c5be 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/types.h +++ b/sysdeps/unix/sysv/linux/mips/bits/types.h @@ -119,6 +119,9 @@ typedef int __key_t; typedef long int __ipc_pid_t; +/* Type to represent block size. */ +typedef long int __blksize_t; + /* Types from the Large File Support interface. */ /* Type to count number os disk blocks. */ diff --git a/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h b/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h index 79713e75ba5..1e7b50e7800 100644 --- a/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h +++ b/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h @@ -110,6 +110,9 @@ typedef struct typedef unsigned long int __fd_mask; +/* Type to represent block size. */ +typedef long int __blksize_t; + /* Types from the Large File Support interface. */ /* Type to count number os disk blocks. */ -- 2.47.3