[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/arm/bits

vapier at uclibc.org vapier at uclibc.org
Mon Jul 4 10:35:00 UTC 2005


Author: vapier
Date: 2005-07-04 04:34:59 -0600 (Mon, 04 Jul 2005)
New Revision: 10711

Log:
import armeb fixes as outlined by John Bowler

Modified:
   trunk/uClibc/libc/sysdeps/linux/arm/bits/kernel_stat.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/arm/bits/kernel_stat.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/bits/kernel_stat.h	2005-07-04 05:51:37 UTC (rev 10710)
+++ trunk/uClibc/libc/sysdeps/linux/arm/bits/kernel_stat.h	2005-07-04 10:34:59 UTC (rev 10711)
@@ -6,15 +6,23 @@
  * different opinion on the subject... */
 
 struct kernel_stat {
+#if defined(__ARMEB__)
 	unsigned short st_dev;
 	unsigned short __pad1;
+#else
+	unsigned long  st_dev;
+#endif
 	unsigned long st_ino;
 	unsigned short st_mode;
 	unsigned short st_nlink;
 	unsigned short st_uid;
 	unsigned short st_gid;
+#if defined(__ARMEB__)
 	unsigned short st_rdev;
 	unsigned short __pad2;
+#else
+	unsigned long  st_rdev;
+#endif
 	unsigned long  st_size;
 	unsigned long  st_blksize;
 	unsigned long  st_blocks;




More information about the uClibc-cvs mailing list