aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-08 04:59:15 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-08 04:59:15 +0000
commit935fbdbd6ac10ddae9b8d446be6b0a0d48a7db31 (patch)
tree989d085272858fbcec1dd9c254037085f15bd648 /sysdeps
parent04b6da27245f24d6137b31f1745ba641dd3e8b08 (diff)
downloadglibc-935fbdbd6ac10ddae9b8d446be6b0a0d48a7db31.tar
glibc-935fbdbd6ac10ddae9b8d446be6b0a0d48a7db31.tar.gz
glibc-935fbdbd6ac10ddae9b8d446be6b0a0d48a7db31.tar.bz2
glibc-935fbdbd6ac10ddae9b8d446be6b0a0d48a7db31.zip
Update.
2002-02-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed attribute, change __pad{1,2} type to unsigned int. (struct stat64): Remove packed attribute.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/stat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/stat.h b/sysdeps/unix/sysv/linux/bits/stat.h
index 2f45894f59..f8d64c8b50 100644
--- a/sysdeps/unix/sysv/linux/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/bits/stat.h
@@ -36,7 +36,7 @@
struct stat
{
__dev_t st_dev; /* Device. */
- unsigned short int __pad1;
+ unsigned int __pad1;
#ifndef __USE_FILE_OFFSET64
__ino_t st_ino; /* File serial number. */
#else
@@ -47,7 +47,7 @@ struct stat
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
__dev_t st_rdev; /* Device number, if device. */
- unsigned short int __pad2;
+ unsigned int __pad2;
#ifndef __USE_FILE_OFFSET64
__off_t st_size; /* Size of file, in bytes. */
#else
@@ -72,7 +72,7 @@ struct stat
#else
__ino64_t st_ino; /* File serial number. */
#endif
- } __attribute__ ((__packed__));
+ };
#ifdef __USE_LARGEFILE64
struct stat64
@@ -98,7 +98,7 @@ struct stat64
__time_t st_ctime; /* Time of last status change. */
unsigned long int __unused3;
__ino64_t st_ino; /* File serial number. */
- } __attribute__ ((__packed__));
+ };
#endif
/* Tell code we have these members. */