diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-04 23:32:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-04 23:32:54 +0000 |
commit | 0a63d118e26d7f30af98862e800a3b56f242f440 (patch) | |
tree | 4693dd9515ba80580d3dce7bc840fd1b7ab08acc /include/asm-mips64 | |
parent | 02407068c4c57765445da770023267a42a20a285 (diff) |
Don't use __SSIZE_TYPE__ any longer, egcs 2.96 does no longer define
it. And while we're at it also eleminate the use of __SIZE_TYPE__
and __PTRDIFF_TYPE__.
Diffstat (limited to 'include/asm-mips64')
-rw-r--r-- | include/asm-mips64/posix_types.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/asm-mips64/posix_types.h b/include/asm-mips64/posix_types.h index 45d9961b5..24a997ba7 100644 --- a/include/asm-mips64/posix_types.h +++ b/include/asm-mips64/posix_types.h @@ -1,4 +1,4 @@ -/* $Id: posix_types.h,v 1.1 1999/08/18 23:37:51 ralf Exp $ +/* $Id: posix_types.h,v 1.2 1999/12/04 03:59:12 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -10,10 +10,6 @@ #ifndef _ASM_POSIX_TYPES_H #define _ASM_POSIX_TYPES_H -#define __need_size_t -#define __need_ptrdiff_t -#include <stddef.h> - /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot @@ -29,9 +25,9 @@ typedef int __kernel_pid_t; typedef int __kernel_ipc_pid_t; typedef int __kernel_uid_t; typedef int __kernel_gid_t; -typedef __SIZE_TYPE__ __kernel_size_t; -typedef __SSIZE_TYPE__ __kernel_ssize_t; -typedef __PTRDIFF_TYPE__ __kernel_ptrdiff_t; +typedef unsigned long __kernel_size_t; +typedef long __kernel_ssize_t; +typedef long __kernel_ptrdiff_t; typedef int __kernel_time_t; typedef long __kernel_suseconds_t; typedef int __kernel_clock_t; |