aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/types/struct_msqid_ds.h6
-rw-r--r--sysdeps/unix/sysv/linux/hppa/struct_kernel_msqid64_ds.h18
2 files changed, 21 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/types/struct_msqid_ds.h b/sysdeps/unix/sysv/linux/hppa/bits/types/struct_msqid_ds.h
index 3cf70e36c4..16eac46941 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/types/struct_msqid_ds.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/types/struct_msqid_ds.h
@@ -26,11 +26,11 @@ struct msqid_ds
{
struct ipc_perm msg_perm; /* structure describing operation permission */
#if __TIMESIZE == 32
- unsigned long int __glibc_reserved1;
+ unsigned long int __msg_stime_high;
__time_t msg_stime; /* time of last msgsnd command */
- unsigned long int __glibc_reserved2;
+ unsigned long int __msg_rtime_high;
__time_t msg_rtime; /* time of last msgsnd command */
- unsigned long int __glibc_reserved3;
+ unsigned long int __msg_ctime_high;
__time_t msg_ctime; /* time of last change */
#else
__time_t msg_stime; /* time of last msgsnd command */
diff --git a/sysdeps/unix/sysv/linux/hppa/struct_kernel_msqid64_ds.h b/sysdeps/unix/sysv/linux/hppa/struct_kernel_msqid64_ds.h
new file mode 100644
index 0000000000..69a63ee27a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/hppa/struct_kernel_msqid64_ds.h
@@ -0,0 +1,18 @@
+/* Analogous to kernel struct msqid64_ds used on msgctl. */
+struct kernel_msqid64_ds
+{
+ struct ipc_perm msg_perm;
+ unsigned long msg_stime_high;
+ unsigned long msg_stime;
+ unsigned long msg_rtime_high;
+ unsigned long msg_rtime;
+ unsigned long msg_ctime_high;
+ unsigned long msg_ctime;
+ unsigned long msg_cbytes;
+ unsigned long msg_qnum;
+ unsigned long msg_qbytes;
+ __pid_t msg_lspid;
+ __pid_t msg_lrpid;
+ unsigned long __unused1;
+ unsigned long __unused2;
+};