aboutsummaryrefslogtreecommitdiff
path: root/rt/tst-mqueue5.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-19 06:19:34 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-19 06:19:34 +0000
commite832919bd092ad265b724eb4a96d5f8ceaaafbaf (patch)
treea299bc099c6cc2b36f0a098a80f779fb3f5a9307 /rt/tst-mqueue5.c
parentf4f16fb1399f065b81d8fb87e26e3e9fa4537bbd (diff)
downloadglibc-e832919bd092ad265b724eb4a96d5f8ceaaafbaf.tar
glibc-e832919bd092ad265b724eb4a96d5f8ceaaafbaf.tar.gz
glibc-e832919bd092ad265b724eb4a96d5f8ceaaafbaf.tar.bz2
glibc-e832919bd092ad265b724eb4a96d5f8ceaaafbaf.zip
Update.
* sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add rt-sysdep. * rt/tst-mqueue5.c (mqsend): Don't inline. (mqrecv): Likewise.
Diffstat (limited to 'rt/tst-mqueue5.c')
-rw-r--r--rt/tst-mqueue5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rt/tst-mqueue5.c b/rt/tst-mqueue5.c
index cdbad287a3..97571da8ab 100644
--- a/rt/tst-mqueue5.c
+++ b/rt/tst-mqueue5.c
@@ -58,7 +58,7 @@ rtmin_handler (int sig, siginfo_t *info, void *ctx)
}
#define mqsend(q) (mqsend) (q, __LINE__)
-static inline int
+static int
(mqsend) (mqd_t q, int line)
{
char c;
@@ -71,7 +71,7 @@ static inline int
}
#define mqrecv(q) (mqrecv) (q, __LINE__)
-static inline int
+static int
(mqrecv) (mqd_t q, int line)
{
char c;
@@ -472,7 +472,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3,
/* Thread opens a new O_RDONLY mqd_t (q4). */
/* Thread calls mq_notify (q4, NULL), which should unregister the above
notification. */
- /* Thread calls mq_close (q4). */
+ /* Thread calls mq_close (q4). */
(void) pthread_barrier_wait (b3);
@@ -501,7 +501,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3,
/* Thread opens a new O_WRONLY mqd_t (q5). */
/* Thread calls mq_notify (q5, NULL), which should unregister the above
notification. */
- /* Thread calls mq_close (q5). */
+ /* Thread calls mq_close (q5). */
(void) pthread_barrier_wait (b3);