summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/stubs.c1
-rw-r--r--librt/rt_stubs.c1
2 files changed, 2 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);
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);