Module Name: src
Committed By: joerg
Date: Fri Apr 12 18:14:23 UTC 2013
Modified Files:
src/lib/libc/thread-stub: thread-stub.c
Log Message:
Weak alias directly to the catchall stub and don't strong alias twice.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/thread-stub/thread-stub.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/thread-stub/thread-stub.c
diff -u src/lib/libc/thread-stub/thread-stub.c:1.24 src/lib/libc/thread-stub/thread-stub.c:1.25
--- src/lib/libc/thread-stub/thread-stub.c:1.24 Fri Apr 5 20:15:42 2013
+++ src/lib/libc/thread-stub/thread-stub.c Fri Apr 12 18:14:22 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: thread-stub.c,v 1.24 2013/04/05 20:15:42 christos Exp $ */
+/* $NetBSD: thread-stub.c,v 1.25 2013/04/12 18:14:22 joerg Exp $ */
/*-
* Copyright (c) 2003, 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: thread-stub.c,v 1.24 2013/04/05 20:15:42 christos Exp $");
+__RCSID("$NetBSD: thread-stub.c,v 1.25 2013/04/12 18:14:22 joerg Exp $");
#endif /* LIBC_SCCS and not lint */
/*
@@ -144,13 +144,12 @@ int __libc_cond_catchall_stub(cond_t *);
__weak_alias(__libc_cond_init,__libc_cond_init_stub)
__weak_alias(__libc_cond_signal,__libc_cond_catchall_stub)
__weak_alias(__libc_cond_broadcast,__libc_cond_catchall_stub)
-__weak_alias(__libc_cond_wait,__libc_cond_wait_stub)
+__weak_alias(__libc_cond_wait,__libc_cond_catchall_stub)
__weak_alias(__libc_cond_timedwait,__libc_cond_timedwait_stub)
__weak_alias(__libc_cond_destroy,__libc_cond_catchall_stub)
__strong_alias(__libc_cond_signal_stub,__libc_cond_catchall_stub)
__strong_alias(__libc_cond_broadcast_stub,__libc_cond_catchall_stub)
-__strong_alias(__libc_cond_wait_stub,__libc_cond_catchall_stub)
__strong_alias(__libc_cond_destroy_stub,__libc_cond_catchall_stub)
int