aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-10-22 13:09:00 +0200
committerLukasz Majewski <lukma@denx.de>2020-11-04 11:34:58 +0100
commitbb0719a80d2f1733d7adcdf326fc91aaf88db167 (patch)
tree5e822de1706b37d7f0ad503afe76a73d1b04adff /sysdeps/unix
parentfbb71eddb3b392982df12ba432d19f347c3799f6 (diff)
downloadglibc-bb0719a80d2f1733d7adcdf326fc91aaf88db167.zip
glibc-bb0719a80d2f1733d7adcdf326fc91aaf88db167.tar.gz
glibc-bb0719a80d2f1733d7adcdf326fc91aaf88db167.tar.bz2
msg: Remove redundant #include <sys/msg.h> header
The #include <sys/msg.h> is redundant as we do not use message specific types for issuing syscalls to handle msg and shm. Only msgctl requires this header. Build tests: ./src/scripts/build-many-glibcs.py glibcs
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/msgget.c1
-rw-r--r--sysdeps/unix/sysv/linux/msgrcv.c1
-rw-r--r--sysdeps/unix/sysv/linux/msgsnd.c1
-rw-r--r--sysdeps/unix/sysv/linux/shmat.c1
-rw-r--r--sysdeps/unix/sysv/linux/shmdt.c1
-rw-r--r--sysdeps/unix/sysv/linux/shmget.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/msgget.c b/sysdeps/unix/sysv/linux/msgget.c
index 7968b73..f5ed417 100644
--- a/sysdeps/unix/sysv/linux/msgget.c
+++ b/sysdeps/unix/sysv/linux/msgget.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <sys/msg.h>
#include <ipc_priv.h>
#include <sysdep.h>
#include <errno.h>
diff --git a/sysdeps/unix/sysv/linux/msgrcv.c b/sysdeps/unix/sysv/linux/msgrcv.c
index 95edc7a..f356703 100644
--- a/sysdeps/unix/sysv/linux/msgrcv.c
+++ b/sysdeps/unix/sysv/linux/msgrcv.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <sys/msg.h>
#include <ipc_priv.h>
#include <sysdep-cancel.h>
diff --git a/sysdeps/unix/sysv/linux/msgsnd.c b/sysdeps/unix/sysv/linux/msgsnd.c
index 554516f..6369782 100644
--- a/sysdeps/unix/sysv/linux/msgsnd.c
+++ b/sysdeps/unix/sysv/linux/msgsnd.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <sys/msg.h>
#include <ipc_priv.h>
#include <sysdep-cancel.h>
diff --git a/sysdeps/unix/sysv/linux/shmat.c b/sysdeps/unix/sysv/linux/shmat.c
index 3bc791c..89df350 100644
--- a/sysdeps/unix/sysv/linux/shmat.c
+++ b/sysdeps/unix/sysv/linux/shmat.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <sys/msg.h>
#include <ipc_priv.h>
#include <sysdep.h>
#include <errno.h>
diff --git a/sysdeps/unix/sysv/linux/shmdt.c b/sysdeps/unix/sysv/linux/shmdt.c
index c506064..48e223e 100644
--- a/sysdeps/unix/sysv/linux/shmdt.c
+++ b/sysdeps/unix/sysv/linux/shmdt.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <sys/msg.h>
#include <ipc_priv.h>
#include <sysdep.h>
#include <errno.h>
diff --git a/sysdeps/unix/sysv/linux/shmget.c b/sysdeps/unix/sysv/linux/shmget.c
index 6f7ce8c..71de81c 100644
--- a/sysdeps/unix/sysv/linux/shmget.c
+++ b/sysdeps/unix/sysv/linux/shmget.c
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <sys/msg.h>
#include <ipc_priv.h>
#include <sysdep.h>
#include <errno.h>