Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/thread-stub Weak alias directly to the catchall stu...
details: https://anonhg.NetBSD.org/src/rev/5046f4c4d000
branches: trunk
changeset: 786056:5046f4c4d000
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Apr 12 18:14:22 2013 +0000
description:
Weak alias directly to the catchall stub and don't strong alias twice.
diffstat:
lib/libc/thread-stub/thread-stub.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 292e94140e6f -r 5046f4c4d000 lib/libc/thread-stub/thread-stub.c
--- a/lib/libc/thread-stub/thread-stub.c Fri Apr 12 18:12:58 2013 +0000
+++ b/lib/libc/thread-stub/thread-stub.c Fri Apr 12 18:14:22 2013 +0000
@@ -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 @@
__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
Home |
Main Index |
Thread Index |
Old Index