summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/errno.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
commit2512c847453c24b928c34beed88902fbb6877b7a (patch)
tree3d327c54c00684b85c435cffa29c5050888c0a69 /libc/sysdeps/linux/common/errno.c
parente83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff)
Update to accomodate the header file changes
Diffstat (limited to 'libc/sysdeps/linux/common/errno.c')
-rw-r--r--libc/sysdeps/linux/common/errno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/errno.c b/libc/sysdeps/linux/common/errno.c
index e6a8ae875..0d500dc8f 100644
--- a/libc/sysdeps/linux/common/errno.c
+++ b/libc/sysdeps/linux/common/errno.c
@@ -1,8 +1,8 @@
-#include <errno.h>
+//#include <errno.h>
int errno = 0;
-int * __errno_location ( void )
+int * __attribute__ ((__weak__)) __errno_location ( void )
{
return &errno;
}