瀏覽代碼

fix stubs

We use enosys_stub only in this file so make it static

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger 13 年之前
父節點
當前提交
5ecbf17303
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      libc/sysdeps/linux/common/stubs.c

+ 1 - 5
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") \