Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Move the pthread_once alias where it belongs.
details: https://anonhg.NetBSD.org/src/rev/ea4593afcdd7
branches: trunk
changeset: 778024:ea4593afcdd7
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 13 01:05:55 2012 +0000
description:
Move the pthread_once alias where it belongs.
diffstat:
lib/libpthread/pthread_mutex.c | 6 ++----
lib/libpthread/pthread_once.c | 6 ++++--
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (51 lines):
diff -r 3484b3bb5c4f -r ea4593afcdd7 lib/libpthread/pthread_mutex.c
--- a/lib/libpthread/pthread_mutex.c Mon Mar 12 22:02:07 2012 +0000
+++ b/lib/libpthread/pthread_mutex.c Tue Mar 13 01:05:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_mutex.c,v 1.52 2012/03/12 21:35:10 joerg Exp $ */
+/* $NetBSD: pthread_mutex.c,v 1.53 2012/03/13 01:05:55 joerg Exp $ */
/*-
* Copyright (c) 2001, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_mutex.c,v 1.52 2012/03/12 21:35:10 joerg Exp $");
+__RCSID("$NetBSD: pthread_mutex.c,v 1.53 2012/03/13 01:05:55 joerg Exp $");
#include <sys/types.h>
#include <sys/lwpctl.h>
@@ -98,8 +98,6 @@
__strong_alias(__libc_mutexattr_destroy,pthread_mutexattr_destroy)
__strong_alias(__libc_mutexattr_settype,pthread_mutexattr_settype)
-__strong_alias(__libc_thr_once,pthread_once)
-
int
pthread_mutex_init(pthread_mutex_t *ptm, const pthread_mutexattr_t *attr)
{
diff -r 3484b3bb5c4f -r ea4593afcdd7 lib/libpthread/pthread_once.c
--- a/lib/libpthread/pthread_once.c Mon Mar 12 22:02:07 2012 +0000
+++ b/lib/libpthread/pthread_once.c Tue Mar 13 01:05:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_once.c,v 1.1 2012/03/12 21:35:10 joerg Exp $ */
+/* $NetBSD: pthread_once.c,v 1.2 2012/03/13 01:05:55 joerg Exp $ */
/*-
* Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_once.c,v 1.1 2012/03/12 21:35:10 joerg Exp $");
+__RCSID("$NetBSD: pthread_once.c,v 1.2 2012/03/13 01:05:55 joerg Exp $");
#include "pthread.h"
@@ -64,3 +64,5 @@
return 0;
}
+
+__strong_alias(__libc_thr_once,pthread_once)
Home |
Main Index |
Thread Index |
Old Index