diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-16 21:25:09 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-16 21:25:09 +0000 |
commit | f3bd16bc0f9ebad95f8d7ed5a8023083ef2258ef (patch) | |
tree | 799ddf44034e7f44250046b177128e55d50158db | |
parent | 465a5d0e89ca7b20fe5893342470b00f40c6f03f (diff) | |
download | uClibc-alpine-f3bd16bc0f9ebad95f8d7ed5a8023083ef2258ef.tar.bz2 uClibc-alpine-f3bd16bc0f9ebad95f8d7ed5a8023083ef2258ef.tar.xz |
Convert to hidden_def
-rw-r--r-- | librt/mq_getsetattr.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/librt/mq_getsetattr.c b/librt/mq_getsetattr.c index d412beebb..7d2594ea1 100644 --- a/librt/mq_getsetattr.c +++ b/librt/mq_getsetattr.c @@ -10,6 +10,8 @@ #ifdef __NR_mq_getsetattr +librt_hidden_proto(mq_setattr) + #define __NR___syscall_mq_getsetattr __NR_mq_getsetattr static inline _syscall3(int, __syscall_mq_getsetattr, int, mqdes, const void *, mqstat, void *, omqstat); @@ -18,18 +20,17 @@ static inline _syscall3(int, __syscall_mq_getsetattr, int, mqdes, * Set attributes associated with message queue (and possibly also get * its old attributes) */ -attribute_hidden -int __mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, +int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat) { return __syscall_mq_getsetattr(mqdes, mqstat, omqstat); } -strong_alias(__mq_setattr,mq_setattr) +librt_hidden_def(mq_setattr) /* Query status and attributes of message queue */ int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat) { - return __mq_setattr(mqdes, NULL, mqstat); + return mq_setattr(mqdes, NULL, mqstat); } #endif |