mirror of
https://git.busybox.net/uClibc
synced 2025-10-14 01:32:00 +08:00
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>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#ifdef __UCLIBC_HAS_STUBS__
|
||||
|
||||
static int enosys_stub(void) __attribute_used__;
|
||||
static int enosys_stub(void)
|
||||
{
|
||||
__set_errno(ENOSYS);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user