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 --- librt/rt_stubs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'librt') 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); -- cgit v1.2.3