From 5ecbf1730329be5e04229fb1ea23f4bc0bc3d2a3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 27 Feb 2011 00:20:58 +0100 Subject: fix stubs We use enosys_stub only in this file so make it static Signed-off-by: Peter S. Mazinger --- libc/sysdeps/linux/common/stubs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libc/sysdeps/linux/common/stubs.c') 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") \ -- cgit v1.2.3