diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 23:49:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-16 23:49:58 +0000 |
commit | 5adac0e439e09c9c078d791a0feb317628063acf (patch) | |
tree | 38816a490b1f629da3830f5e948f2e56203b4e04 /rt | |
parent | edb4d496a81637e9232301fe89086f164327f74a (diff) | |
download | glibc-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')
-rw-r--r-- | rt/tst-mqueue6.c | 10 |
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) { |