aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-31 22:59:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-31 22:59:04 +0000
commit2e8a5c8c46f0a897a2629131eb86d1cae8321234 (patch)
tree374714d59953c2a1a8e22ad0f8a49e23c5b5e92b /ports
parentc2d549290d24aeae30a328a6b4061f60f095dea2 (diff)
downloadglibc-2e8a5c8c46f0a897a2629131eb86d1cae8321234.tar
glibc-2e8a5c8c46f0a897a2629131eb86d1cae8321234.tar.gz
glibc-2e8a5c8c46f0a897a2629131eb86d1cae8321234.tar.bz2
glibc-2e8a5c8c46f0a897a2629131eb86d1cae8321234.zip
Remove bp-semctl.h and CHECK_SEMCTL.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.alpha7
-rw-r--r--ports/ChangeLog.mips7
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/semctl.c6
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/mips64/semctl.c5
4 files changed, 16 insertions, 9 deletions
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index 2284ae3faa..758e97c950 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,3 +1,10 @@
+2013-01-31 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #13550]
+ * sysdeps/unix/sysv/linux/alpha/semctl.c: Don't include
+ <bp-checks.h> and <bp-semctl.h>.
+ (__new_semctl): Don't use CHECK_SEMCTL.
+
2013-01-08 Andreas Jaeger <aj@suse.de>
[BZ# 14985]
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 92553e7299..49a3938314 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,10 @@
+2013-01-31 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #13550]
+ * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Don't include
+ <bp-checks.h> and <bp-semctl.h>.
+ (__semctl): Don't use CHECK_SEMCTL.
+
2013-01-29 Maciej W. Rozycki <macro@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Correct
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/semctl.c b/ports/sysdeps/unix/sysv/linux/alpha/semctl.c
index c18c695e3a..31278a06cf 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/semctl.c
+++ b/ports/sysdeps/unix/sysv/linux/alpha/semctl.c
@@ -33,10 +33,6 @@ union semun
struct seminfo *__buf; /* buffer for IPC_INFO */
};
-#include <bp-checks.h>
-#include <bp-semctl.h>
-
-
int
__new_semctl (int semid, int semnum, int cmd, ...)
{
@@ -51,7 +47,7 @@ __new_semctl (int semid, int semnum, int cmd, ...)
va_end (ap);
return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64,
- CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)->array);
+ arg.array);
}
#include <shlib-compat.h>
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/semctl.c b/ports/sysdeps/unix/sysv/linux/mips/mips64/semctl.c
index 7e5488dbdc..e43e8937a5 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/mips64/semctl.c
+++ b/ports/sysdeps/unix/sysv/linux/mips/mips64/semctl.c
@@ -30,9 +30,6 @@ union semun
struct seminfo *__buf; /* buffer for IPC_INFO */
};
-#include <bp-checks.h>
-#include <bp-semctl.h> /* definition of CHECK_SEMCTL needs union semum */
-
int __semctl (int semid, int semnum, int cmd, ...);
int
@@ -49,7 +46,7 @@ __semctl (int semid, int semnum, int cmd, ...)
va_end (ap);
return INLINE_SYSCALL (semctl, 4, semid, semnum, cmd | __IPC_64,
- CHECK_SEMCTL (&arg, semid, cmd | __IPC_64)->array);
+ arg.array);
}
#include <shlib-compat.h>