summaryrefslogtreecommitdiff
path: root/librt
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-18 09:12:47 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-18 09:14:30 +0100
commitd8d695731db39a03010cc0051c6fbe939959bbf6 (patch)
treed073417d5b73439a329bd71165c67c11a03435b7 /librt
parent20e4af546967c6bc0cc55a309c9d18818a1404de (diff)
stubs: mark stubs as used
Avoids warning from -Wunused-function about the alias target that is only used at link-time. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'librt')
-rw-r--r--librt/rt_stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/librt/rt_stubs.c b/librt/rt_stubs.c
index b2c09dea9..a2b84e62a 100644
--- a/librt/rt_stubs.c
+++ b/librt/rt_stubs.c
@@ -12,6 +12,7 @@
#ifdef __UCLIBC_HAS_STUBS__
+static int rt_enosys_stub(void) __attribute_used__;
static int rt_enosys_stub(void)
{
__set_errno(ENOSYS);