[git commit master 1/1] fix stubs
Peter S. Mazinger
ps.m at gmx.net
Thu Mar 3 17:22:53 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=5ecbf1730329be5e04229fb1ea23f4bc0bc3d2a3
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
We use enosys_stub only in this file so make it static
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libc/sysdeps/linux/common/stubs.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index dd4a384..8688e98 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -11,15 +11,11 @@
#ifdef __UCLIBC_HAS_STUBS__
-attribute_hidden int enosys_stub(void);
-libc_hidden_proto(enosys_stub)
-
-attribute_hidden int enosys_stub(void)
+static int enosys_stub(void)
{
__set_errno(ENOSYS);
return -1;
}
-libc_hidden_def(enosys_stub)
#define make_stub(stub) \
link_warning(stub, #stub ": this function is not implemented") \
--
1.7.3.4
More information about the uClibc-cvs
mailing list