patch-2.3.99-pre9 linux/include/asm-mips64/posix_types.h

Next file: linux/include/asm-mips64/processor.h
Previous file: linux/include/asm-mips64/poll.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-mips64/posix_types.h linux/include/asm-mips64/posix_types.h
@@ -1,4 +1,4 @@
-/* $Id: posix_types.h,v 1.4 2000/02/16 01:07:49 ralf Exp $
+/* $Id: posix_types.h,v 1.5 2000/02/29 20:49:16 ulfc 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
@@ -48,6 +48,26 @@
 typedef struct {
         int    val[2];
 } __kernel_fsid_t;
+/* Now 32bit compatibility types */
+typedef unsigned int	__kernel_dev_t32;
+typedef unsigned int	__kernel_ino_t32;
+typedef unsigned int	__kernel_mode_t32;
+typedef unsigned int	__kernel_nlink_t32;
+typedef int		__kernel_off_t32;
+typedef int		__kernel_pid_t32;
+typedef int		__kernel_ipc_pid_t32;
+typedef int		__kernel_uid_t32;
+typedef int		__kernel_gid_t32;
+typedef unsigned int	__kernel_size_t32;
+typedef int		__kernel_ssize_t32;
+typedef int		__kernel_ptrdiff_t32;
+typedef int		__kernel_time_t32;
+typedef int		__kernel_suseconds_t32;
+typedef int		__kernel_clock_t32;
+typedef int		__kernel_daddr_t32;
+typedef char *		__kernel_caddr_t32;
+typedef __kernel_fsid_t	__kernel_fsid_t32;
 #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)

TCL-scripts by Sam Shen (who was at: