aboutsummaryrefslogtreecommitdiff
path: root/rt/tst-mqueue6.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-16 23:49:58 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-16 23:49:58 +0000
commit5adac0e439e09c9c078d791a0feb317628063acf (patch)
tree38816a490b1f629da3830f5e948f2e56203b4e04 /rt/tst-mqueue6.c
parentedb4d496a81637e9232301fe89086f164327f74a (diff)
downloadglibc-5adac0e439e09c9c078d791a0feb317628063acf.zip
glibc-5adac0e439e09c9c078d791a0feb317628063acf.tar.gz
glibc-5adac0e439e09c9c078d791a0feb317628063acf.tar.bz2
Update.
* rt/tst-mqueue6.c (mqsend): Don't inline. (mqrecv): Likewise.
Diffstat (limited to 'rt/tst-mqueue6.c')
-rw-r--r--rt/tst-mqueue6.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rt/tst-mqueue6.c b/rt/tst-mqueue6.c
index f4fdb02..5c9ee69 100644
--- a/rt/tst-mqueue6.c
+++ b/rt/tst-mqueue6.c
@@ -37,8 +37,8 @@
#if _POSIX_THREADS
# include <pthread.h>
-#define mqsend(q) (mqsend) (q, __LINE__)
-static inline int
+# define mqsend(q) (mqsend) (q, __LINE__)
+static int
(mqsend) (mqd_t q, int line)
{
char c;
@@ -50,8 +50,8 @@ static inline int
return 0;
}
-#define mqrecv(q) (mqrecv) (q, __LINE__)
-static inline int
+# define mqrecv(q) (mqrecv) (q, __LINE__)
+static int
(mqrecv) (mqd_t q, int line)
{
char c;
@@ -104,7 +104,7 @@ fct (union sigval s)
fct_err |= mqsend (q);
}
-#define TEST_FUNCTION do_test ()
+# define TEST_FUNCTION do_test ()
static int
do_test (void)
{