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:
9030702
)
Fix a build break due to errno and h_errno being unresolved symbols.
author
Rob Landley
<rob@landley.net>
Wed, 7 Mar 2007 23:39:28 +0000
(23:39 -0000)
committer
Rob Landley
<rob@landley.net>
Wed, 7 Mar 2007 23:39:28 +0000
(23:39 -0000)
(No idea if this is the right fix but it's something for now.)
libc/misc/internals/errno.c
patch
|
blob
|
history
diff --git
a/libc/misc/internals/errno.c
b/libc/misc/internals/errno.c
index
fd9bf17
..
fcf143f
100644
(file)
--- a/
libc/misc/internals/errno.c
+++ b/
libc/misc/internals/errno.c
@@
-8,8
+8,8
@@
int errno = 0;
int h_errno = 0;
#ifdef __UCLIBC_HAS_THREADS__
-//weak_alias(_errno, errno)
libc_hidden_def(errno)
-
//weak_alias(_h_errno, h
_errno)
+
weak_alias(errno,
_errno)
libc_hidden_def(h_errno)
+weak_alias(h_errno, _h_errno)
#endif