Blame support/xpthread_rwlock_destroy.c

Packit Bot bdf314
/* pthread_rwlock_destroy with error checking.
Packit Bot bdf314
   Copyright (C) 2019 Free Software Foundation, Inc.
Packit Bot bdf314
   This file is part of the GNU C Library.
Packit Bot bdf314
Packit Bot bdf314
   The GNU C Library is free software; you can redistribute it and/or
Packit Bot bdf314
   modify it under the terms of the GNU Lesser General Public
Packit Bot bdf314
   License as published by the Free Software Foundation; either
Packit Bot bdf314
   version 2.1 of the License, or (at your option) any later version.
Packit Bot bdf314
Packit Bot bdf314
   The GNU C Library is distributed in the hope that it will be useful,
Packit Bot bdf314
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Bot bdf314
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Bot bdf314
   Lesser General Public License for more details.
Packit Bot bdf314
Packit Bot bdf314
   You should have received a copy of the GNU Lesser General Public
Packit Bot bdf314
   License along with the GNU C Library; if not, see
Packit Bot bdf314
   <http://www.gnu.org/licenses/>.  */
Packit Bot bdf314
Packit Bot bdf314
#include <support/xthread.h>
Packit Bot bdf314
Packit Bot bdf314
void
Packit Bot bdf314
xpthread_rwlock_destroy (pthread_rwlock_t *rwlock)
Packit Bot bdf314
{
Packit Bot bdf314
  xpthread_check_return ("pthread_rwlock_destroy",
Packit Bot bdf314
                         pthread_rwlock_destroy (rwlock));
Packit Bot bdf314
}