From d8d695731db39a03010cc0051c6fbe939959bbf6 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 18 Jan 2012 09:12:47 +0100 Subject: 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 --- libc/sysdeps/linux/common/stubs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common') 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); -- cgit v1.2.3