diff options
Diffstat (limited to 'librt/mq_getsetattr.c')
-rw-r--r-- | librt/mq_getsetattr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/librt/mq_getsetattr.c b/librt/mq_getsetattr.c index 4ffda26ca..d412beebb 100644 --- a/librt/mq_getsetattr.c +++ b/librt/mq_getsetattr.c @@ -18,16 +18,18 @@ static inline _syscall3(int, __syscall_mq_getsetattr, int, mqdes, * Set attributes associated with message queue (and possibly also get * its old attributes) */ -int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, +attribute_hidden +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) /* 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 |