]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/pthread_mutex_getprioceiling.c
nptl: Turn libpthread.so into a symbolic link to the real DSO
[thirdparty/glibc.git] / nptl / pthread_mutex_getprioceiling.c
index a19d3f2b3589422b33a65b6546d4bb4a4a213a6e..efa37b0d99201f57492ca7a19a2cb449c7e183d9 100644 (file)
@@ -1,5 +1,5 @@
 /* Get current priority ceiling of pthread_mutex_t.
-   Copyright (C) 2006-2014 Free Software Foundation, Inc.
+   Copyright (C) 2006-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2006.
 
@@ -22,9 +22,7 @@
 
 
 int
-pthread_mutex_getprioceiling (mutex, prioceiling)
-     const pthread_mutex_t *mutex;
-     int *prioceiling;
+pthread_mutex_getprioceiling (const pthread_mutex_t *mutex, int *prioceiling)
 {
   if (__builtin_expect ((mutex->__data.__kind
                         & PTHREAD_MUTEX_PRIO_PROTECT_NP) == 0, 0))