[Midnightbsd-cvs] src [10634] trunk/lib/libthr/sys/thr_error.c: sync

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 9 12:43:07 EDT 2018


Revision: 10634
          http://svnweb.midnightbsd.org/src/?rev=10634
Author:   laffer1
Date:     2018-06-09 12:43:07 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
sync

Modified Paths:
--------------
    trunk/lib/libthr/sys/thr_error.c

Modified: trunk/lib/libthr/sys/thr_error.c
===================================================================
--- trunk/lib/libthr/sys/thr_error.c	2018-06-09 16:42:31 UTC (rev 10633)
+++ trunk/lib/libthr/sys/thr_error.c	2018-06-09 16:43:07 UTC (rev 10634)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 1995 John Birrell <jb at cimlogic.com.au>.
  * Copyright (c) 1994 by Chris Provenzano, proven at mit.edu
@@ -31,7 +32,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD$
+ * $FreeBSD: stable/10/lib/libthr/sys/thr_error.c 277317 2015-01-18 11:54:20Z kib $
  */
 
 #include <pthread.h>
@@ -42,8 +43,9 @@
 #undef errno
 extern	int	errno;
 
+__weak_reference(__error_threaded, __error);
 int *
-__error(void)
+__error_threaded(void)
 {
 	struct pthread *curthread;
 



More information about the Midnightbsd-cvs mailing list