Module Name:    src
Committed By:   joerg
Date:           Tue Mar 13 01:05:55 UTC 2012

Modified Files:
        src/lib/libpthread: pthread_mutex.c pthread_once.c

Log Message:
Move the pthread_once alias where it belongs.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/lib/libpthread/pthread_mutex.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libpthread/pthread_once.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/libpthread/pthread_mutex.c
diff -u src/lib/libpthread/pthread_mutex.c:1.52 src/lib/libpthread/pthread_mutex.c:1.53
--- src/lib/libpthread/pthread_mutex.c:1.52	Mon Mar 12 21:35:10 2012
+++ src/lib/libpthread/pthread_mutex.c	Tue Mar 13 01:05:55 2012
@@ -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_init,pth
 __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)
 {

Index: src/lib/libpthread/pthread_once.c
diff -u src/lib/libpthread/pthread_once.c:1.1 src/lib/libpthread/pthread_once.c:1.2
--- src/lib/libpthread/pthread_once.c:1.1	Mon Mar 12 21:35:10 2012
+++ src/lib/libpthread/pthread_once.c	Tue Mar 13 01:05:55 2012
@@ -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 @@ pthread_once(pthread_once_t *once_contro
 
 	return 0;
 }
+
+__strong_alias(__libc_thr_once,pthread_once)

Reply via email to