diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
commit | f03b78fae46905a5676c7b7f360cadba2f290708 (patch) | |
tree | 322292da3aeeb1b8e5504afaf089d8a486228303 /sysdeps/pthread/tst-robust1.c | |
parent | 2208066603a136f95cfb815ca9281262e6465784 (diff) | |
download | glibc-f03b78fae46905a5676c7b7f360cadba2f290708.tar.gz glibc-f03b78fae46905a5676c7b7f360cadba2f290708.tar.xz glibc-f03b78fae46905a5676c7b7f360cadba2f290708.zip |
nptl: Move pthread_mutex_consistent into libc
And deprecated pthread_mutex_consistent_np, its old name. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/pthread/tst-robust1.c')
-rw-r--r-- | sysdeps/pthread/tst-robust1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/pthread/tst-robust1.c b/sysdeps/pthread/tst-robust1.c index d4b1d88a68..6342fcbbf7 100644 --- a/sysdeps/pthread/tst-robust1.c +++ b/sysdeps/pthread/tst-robust1.c @@ -241,14 +241,14 @@ do_test (void) #endif #ifndef NOT_CONSISTENT - e = pthread_mutex_consistent_np (&m1); + e = pthread_mutex_consistent (&m1); if (e != 0) { printf ("%ld: mutex_consistent m1 failed with error %d\n", round, e); return 1; } - e = pthread_mutex_consistent_np (&m2); + e = pthread_mutex_consistent (&m2); if (e != 0) { printf ("%ld: mutex_consistent m2 failed with error %d\n", round, e); |