OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370e40a
)
fix stubs
author
Peter S. Mazinger
<ps.m@gmx.net>
Sat, 26 Feb 2011 23:20:58 +0000
(
00:20
+0100)
committer
Peter 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
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/stubs.c
b/libc/sysdeps/linux/common/stubs.c
index
dd4a384
..
8688e98
100644
(file)
--- 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") \