summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/__uClibc_main.c2
-rw-r--r--libc/misc/internals/errno.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 869c9e178..41848775f 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -118,7 +118,7 @@ strong_alias (__progname_full, program_invocation_name)
* environ symbol is also included.
*/
char **__environ = 0;
-strong_alias(__environ,environ)
+weak_alias(__environ, environ)
/* TODO: don't export __pagesize; we cant now because libpthread uses it */
size_t __pagesize = 0;
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c
index ffacc8188..e06b3d228 100644
--- a/libc/misc/internals/errno.c
+++ b/libc/misc/internals/errno.c
@@ -16,7 +16,7 @@ int _errno = 0;
int _h_errno = 0;
#endif
-strong_alias(_errno,errno)
+weak_alias(_errno,errno)
libc_hidden_def(errno)
-strong_alias(_h_errno,h_errno)
+weak_alias(_h_errno,h_errno)
libc_hidden_def(h_errno)