Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Do not mark pthread_cond_timedwait explicitly...



details:   https://anonhg.NetBSD.org/src/rev/5634e26a92bd
branches:  trunk
changeset: 779748:5634e26a92bd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jun 15 19:20:44 2012 +0000

description:
Do not mark pthread_cond_timedwait explicitly as inlineable, since it
calls pthread__self, which is static.

diffstat:

 lib/libpthread/pthread_cond.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 952d1203aead -r 5634e26a92bd lib/libpthread/pthread_cond.c
--- a/lib/libpthread/pthread_cond.c     Fri Jun 15 14:23:46 2012 +0000
+++ b/lib/libpthread/pthread_cond.c     Fri Jun 15 19:20:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_cond.c,v 1.56 2010/11/02 20:49:47 skrll Exp $  */
+/*     $NetBSD: pthread_cond.c,v 1.57 2012/06/15 19:20:44 joerg Exp $  */
 
 /*-
  * Copyright (c) 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_cond.c,v 1.56 2010/11/02 20:49:47 skrll Exp $");
+__RCSID("$NetBSD: pthread_cond.c,v 1.57 2012/06/15 19:20:44 joerg Exp $");
 
 #include <errno.h>
 #include <sys/time.h>
@@ -103,7 +103,7 @@
        return 0;
 }
 
-inline int
+int
 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
                       const struct timespec *abstime)
 {



Home | Main Index | Thread Index | Old Index