diff options
author | Rob Landley <rob@landley.net> | 2007-03-07 23:39:28 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-03-07 23:39:28 +0000 |
commit | 5a551453e6886968a089b63f4ccffd21059e2336 (patch) | |
tree | 6acb1d61ded70027369071d531a8124d4bc3d9f0 /libc/misc/internals/errno.c | |
parent | 90307023f82a831229be3ce14f46ce3449638584 (diff) |
Fix a build break due to errno and h_errno being unresolved symbols.
(No idea if this is the right fix but it's something for now.)
Diffstat (limited to 'libc/misc/internals/errno.c')
-rw-r--r-- | libc/misc/internals/errno.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c index fd9bf170c..fcf143fb5 100644 --- 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 |