summaryrefslogtreecommitdiff
path: root/lib/libc/sys/__error.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2001-04-10 04:11:50 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2001-04-10 04:11:50 +0000
commit54fd7f685f42878f99a2e2d8428d084f9b1125ab (patch)
tree74cea16b93a3e49b3b5d3f6783f0654dee7033fc /lib/libc/sys/__error.c
parent278d1a20e81d770d182c0e9e821bf566c66e14fc (diff)
Notes
Diffstat (limited to 'lib/libc/sys/__error.c')
-rw-r--r--lib/libc/sys/__error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/__error.c b/lib/libc/sys/__error.c
index 8c14b0f75153..3641e77e0527 100644
--- a/lib/libc/sys/__error.c
+++ b/lib/libc/sys/__error.c
@@ -40,7 +40,7 @@ extern int errno;
* Declare a weak reference in case the application is not linked
* with libpthread.
*/
-#pragma weak __error=__error_unthreaded
+__weak_reference(__error_unthreaded, __error);
int *
__error_unthreaded()