Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Actually define and export pthread_mutexattr_[sg]etrobust.
  • Loading branch information
Ulrich Drepper committed Jan 15, 2010
1 parent 21dfc00 commit 78ee218
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
7 changes: 6 additions & 1 deletion nptl/ChangeLog
@@ -1,7 +1,12 @@
2010-01-14 Ulrich Drepper <drepper@redhat.com>

* Versions: Add pthread_mutex_consistent for GLIBC_2.12.
* Versions: Add pthread_mutex_consistent, pthread_mutexattr_getrobust,
and pthread_mutexattr_setrobust for GLIBC_2.12.
* pthread_mutex_consistent.c: Define alias pthread_mutex_consistent.
* pthread_mutexattr_getrobust.c: Define alias
pthread_mutexattr_getrobust.
* pthread_mutexattr_setrobust.c: Define alias
pthread_mutexattr_setrobust.

2010-01-12 Ulrich Drepper <drepper@redhat.com>

Expand Down
3 changes: 2 additions & 1 deletion nptl/Versions
Expand Up @@ -245,7 +245,8 @@ libpthread {
};

GLIBC_2.12 {
pthread_mutex_consistent;
pthread_mutex_consistent; pthread_mutexattr_getrobust;
pthread_mutexattr_setrobust;
};

GLIBC_PRIVATE {
Expand Down
5 changes: 3 additions & 2 deletions nptl/pthread_mutexattr_getrobust.c
@@ -1,4 +1,4 @@
/* Copyright (C) 2005 Free Software Foundation, Inc.
/* Copyright (C) 2005, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2005.
Expand All @@ -21,7 +21,7 @@


int
pthread_mutexattr_getrobust_np (attr, robustness)
pthread_mutexattr_getrobust (attr, robustness)
const pthread_mutexattr_t *attr;
int *robustness;
{
Expand All @@ -34,3 +34,4 @@ pthread_mutexattr_getrobust_np (attr, robustness)

return 0;
}
weak_alias (pthread_mutexattr_getrobust, pthread_mutexattr_getrobust_np)
5 changes: 3 additions & 2 deletions nptl/pthread_mutexattr_setrobust.c
@@ -1,4 +1,4 @@
/* Copyright (C) 2005 Free Software Foundation, Inc.
/* Copyright (C) 2005, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2005.
Expand All @@ -22,7 +22,7 @@


int
pthread_mutexattr_setrobust_np (attr, robustness)
pthread_mutexattr_setrobust (attr, robustness)
pthread_mutexattr_t *attr;
int robustness;
{
Expand All @@ -41,3 +41,4 @@ pthread_mutexattr_setrobust_np (attr, robustness)

return 0;
}
weak_alias (pthread_mutexattr_setrobust, pthread_mutexattr_setrobust_np)

0 comments on commit 78ee218

Please sign in to comment.