aboutsummaryrefslogtreecommitdiff
path: root/sysvipc
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc')
-rw-r--r--sysvipc/Makefile2
-rw-r--r--sysvipc/sys/ipc.h4
-rw-r--r--sysvipc/sys/msg.h2
-rw-r--r--sysvipc/sys/sem.h6
-rw-r--r--sysvipc/sys/shm.h6
5 files changed, 10 insertions, 10 deletions
diff --git a/sysvipc/Makefile b/sysvipc/Makefile
index 36a502a9b6..96ac66e0e9 100644
--- a/sysvipc/Makefile
+++ b/sysvipc/Makefile
@@ -22,7 +22,7 @@
subdir := sysvipc
headers := sys/ipc.h sys/msg.h sys/sem.h sys/shm.h \
- sys/ipc_buf.h sys/msq_buf.h sys/sem_buf.h sys/shm_buf.h
+ bits/ipc.h bits/msq.h bits/sem.h bits/shm.h
routines := ftok \
msgsnd msgrcv msgget msgctl \
diff --git a/sysvipc/sys/ipc.h b/sysvipc/sys/ipc.h
index 4386d676d4..c36dd79b33 100644
--- a/sysvipc/sys/ipc.h
+++ b/sysvipc/sys/ipc.h
@@ -18,12 +18,12 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_IPC_H
-
#define _SYS_IPC_H 1
+
#include <sys/cdefs.h>
/* Get system dependent definition of `struct ipc_perm' and more. */
-#include <sys/ipc_buf.h>
+#include <bits/ipc.h>
#if !defined __USE_SVID && !defined __USE_XOPEN && __GNUC__ >= 2
# warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index b90f05165b..b6fe7a77cf 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -27,7 +27,7 @@
#include <sys/ipc.h>
/* Get system dependent definition of `struct msqid_ds' and more. */
-#include <sys/msq_buf.h>
+#include <bits/msq.h>
__BEGIN_DECLS
diff --git a/sysvipc/sys/sem.h b/sysvipc/sys/sem.h
index 2c26e24672..84bcc5a0fc 100644
--- a/sysvipc/sys/sem.h
+++ b/sysvipc/sys/sem.h
@@ -18,8 +18,8 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_SEM_H
-
#define _SYS_SEM_H 1
+
#include <features.h>
#include <sys/types.h>
@@ -28,7 +28,7 @@
#include <sys/ipc.h>
/* Get system dependent definition of `struct semid_ds' and more. */
-#include <sys/sem_buf.h>
+#include <bits/sem.h>
__BEGIN_DECLS
@@ -57,4 +57,4 @@ extern int semop __P ((int __semid, struct sembuf *__sops,
__END_DECLS
-#endif /* _SYS_SEM_H */
+#endif /* sys/sem.h */
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h
index 2a1e7c664d..56883b787b 100644
--- a/sysvipc/sys/shm.h
+++ b/sysvipc/sys/shm.h
@@ -18,8 +18,8 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_SHM_H
-
#define _SYS_SHM_H 1
+
#include <features.h>
#include <unistd.h> /* for `getpagesize' declaration */
@@ -29,7 +29,7 @@
#include <sys/ipc.h>
/* Get system dependent definition of `struct shmid_ds' and more. */
-#include <sys/shm_buf.h>
+#include <bits/shm.h>
/* Segment low boundary address multiple. */
@@ -54,4 +54,4 @@ extern int shmdt __P ((__const void *__shmaddr));
__END_DECLS
-#endif /* _SYS_SHM_H */
+#endif /* sys/shm.h */