summaryrefslogtreecommitdiff
path: root/librt/mq_getsetattr.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-29 04:39:12 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-29 04:39:12 +0000
commit91334307930f5cfb1bf5dc835de6ff5cc24d0ede (patch)
tree28b9c8a955f0b234ebc8e0652b8512b268515054 /librt/mq_getsetattr.c
parent0b01e4471fab3d6dcb26e514d1ce83db055d0b70 (diff)
hide some functions to cut down on relocations
Diffstat (limited to 'librt/mq_getsetattr.c')
-rw-r--r--librt/mq_getsetattr.c6
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