OSDN Git Service

fix stubs
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 26 Feb 2011 23:20:58 +0000 (00:20 +0100)
committerPeter S. Mazinger <ps.m@gmx.net>
Thu, 3 Mar 2011 17:22:50 +0000 (18:22 +0100)
We use enosys_stub only in this file so make it static

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
libc/sysdeps/linux/common/stubs.c

index dd4a384..8688e98 100644 (file)
 
 #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") \