diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-02-27 00:20:58 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-03 18:22:50 +0100 |
commit | 5ecbf1730329be5e04229fb1ea23f4bc0bc3d2a3 (patch) | |
tree | db8e7fe0e8ed4e158376a1e74c1a6c4a832231db /libc/sysdeps | |
parent | 370e40a5d94efb44d6b8adbca6fcaa1262793f0b (diff) |
fix stubs
We use enosys_stub only in this file so make it static
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | 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 dd4a384f8..8688e98a1 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") \ |