diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-01-18 09:12:47 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-01-18 09:14:30 +0100 |
commit | d8d695731db39a03010cc0051c6fbe939959bbf6 (patch) | |
tree | d073417d5b73439a329bd71165c67c11a03435b7 /libc/sysdeps/linux/common | |
parent | 20e4af546967c6bc0cc55a309c9d18818a1404de (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/common')
-rw-r--r-- | libc/sysdeps/linux/common/stubs.c | 1 |
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); |