This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-80-g8898f02
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 11 Jan 2012 00:37:52 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-80-g8898f02
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 8898f02074fc1c6a461ee19a817b482b9ffca639 (commit)
from 356fa562ec9ac9cb16719396e85ddd044b3c6ebc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8898f02074fc1c6a461ee19a817b482b9ffca639
commit 8898f02074fc1c6a461ee19a817b482b9ffca639
Author: Ulrich Drepper <drepper@gmail.com>
Date: Tue Jan 10 19:37:35 2012 -0500
Add const attribute to pthread_equal
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index fdc00d7..34f4ce1 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,7 @@
2012-01-10 Ulrich Drepper <drepper@gmail.com>
+ * sysdeps/pthread/pthread.h: Add const attribute to pthread_equal.
+
* pthreadP.h: Add noreturn to __pthread_exit.
* sysdeps/pthread/pthread-functions.h: Likewise for ptr___pthread_exit.
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h
index 05cf7d2..ce38cf9 100644
--- a/nptl/sysdeps/pthread/pthread.h
+++ b/nptl/sysdeps/pthread/pthread.h
@@ -266,7 +266,8 @@ extern int pthread_detach (pthread_t __th) __THROW;
extern pthread_t pthread_self (void) __THROW __attribute__ ((__const__));
/* Compare two thread identifiers. */
-extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __THROW;
+extern int pthread_equal (pthread_t __thread1, pthread_t __thread2)
+ __THROW __attribute__ ((__const__));
/* Thread attribute handling. */
-----------------------------------------------------------------------
Summary of changes:
nptl/ChangeLog | 2 ++
nptl/sysdeps/pthread/pthread.h | 3 ++-
2 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources