summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
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 /libc/sysdeps/linux
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 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 06356afa4..02cd72495 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -12,6 +12,7 @@
#ifdef __UCLIBC_HAS_STUBS__
+static int enosys_stub(void) __attribute_used__;
static int enosys_stub(void)
{
__set_errno(ENOSYS);