OSDN Git Service

Fix a build break due to errno and h_errno being unresolved symbols.
authorRob Landley <rob@landley.net>
Wed, 7 Mar 2007 23:39:28 +0000 (23:39 -0000)
committerRob 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

index fd9bf17..fcf143f 100644 (file)
@@ -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