From 77b93390283cc4927f08ceb1bc19f2b2b1dee7c2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 19 Apr 2018 20:14:45 +0200 Subject: hurd: Fix symbols exposition * bits/in.h [!__USE_MISC]: Do not define struct ip_opts. * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix. * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct instead of wait_queue. * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct instead of vm_area_struct. --- sysdeps/gnu/bits/msq.h | 4 ++-- sysdeps/gnu/bits/shm.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/gnu/bits') diff --git a/sysdeps/gnu/bits/msq.h b/sysdeps/gnu/bits/msq.h index d38b984fa5..0a4a67d5e9 100644 --- a/sysdeps/gnu/bits/msq.h +++ b/sysdeps/gnu/bits/msq.h @@ -43,8 +43,8 @@ struct msqid_ds __time_t msg_stime; /* time of last msgsnd command */ __time_t msg_rtime; /* time of last msgrcv command */ __time_t msg_ctime; /* time of last change */ - struct wait_queue *__wwait; /* ??? */ - struct wait_queue *__rwait; /* ??? */ + struct __wait_queue *__wwait; /* ??? */ + struct __wait_queue *__rwait; /* ??? */ unsigned short int __msg_cbytes;/* current number of bytes on queue */ msgqnum_t msg_qnum; /* number of messages currently on queue */ msglen_t msg_qbytes; /* max number of bytes allowed on queue */ diff --git a/sysdeps/gnu/bits/shm.h b/sysdeps/gnu/bits/shm.h index d9944f8c08..eef6729188 100644 --- a/sysdeps/gnu/bits/shm.h +++ b/sysdeps/gnu/bits/shm.h @@ -58,7 +58,7 @@ struct shmid_ds shmatt_t shm_nattch; /* number of current attaches */ unsigned short int __shm_npages; /* size of segment (pages) */ unsigned long int *__shm_pages; /* array of ptrs to frames -> SHMMAX */ - struct vm_area_struct *__attaches; /* descriptors for attaches */ + struct __vm_area_struct *__attaches; /* descriptors for attaches */ }; #ifdef __USE_MISC -- cgit 1.4.1