patch-2.3.40 linux/include/asm-sparc/posix_types.h

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

diff -u --recursive --new-file v2.3.39/linux/include/asm-sparc/posix_types.h linux/include/asm-sparc/posix_types.h
@@ -7,13 +7,7 @@
  * assume GCC is being used.
  */
 
-/* When cross-compilation is no longer an issue, fix this. */
-#if defined(__svr4__) || defined(__ELF__)
 typedef unsigned int           __kernel_size_t;
-#else
-typedef long unsigned int      __kernel_size_t;
-#endif /* !(__svr4__ || __ELF__) */
-
 typedef int                    __kernel_ssize_t;
 typedef long int               __kernel_ptrdiff_t;
 typedef long                   __kernel_time_t;
@@ -31,6 +25,12 @@
 typedef long                   __kernel_daddr_t;
 typedef long                   __kernel_off_t;
 typedef char *                 __kernel_caddr_t;
+typedef unsigned short	       __kernel_uid16_t;
+typedef unsigned short	       __kernel_gid16_t;
+typedef unsigned int	       __kernel_uid32_t;
+typedef unsigned int	       __kernel_gid32_t;
+typedef unsigned short	       __kernel_old_uid_t;
+typedef unsigned short	       __kernel_old_gid_t;
 
 #ifdef __GNUC__
 typedef long long	__kernel_loff_t;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)