From 170f647a4a0deab3d003db7c7e06fbbe795c83af Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 6 Jan 2018 11:18:17 +0100 Subject: Move headers to sysdeps so the normal sysdeps mechanism works to cope with the removal of add-ons mechanism. * include/pthread/pthread.h: rename to sysdeps/generic/pthread/pthread.h * include/pthread/pthreadtypes.h: rename to sysdeps/generic/pthread/pthreadtypes.h * pthreadP.h: rename to sysdeps/pthread/pthreadP.h --- sysdeps/pthread/pthreadP.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sysdeps/pthread/pthreadP.h (limited to 'sysdeps/pthread/pthreadP.h') diff --git a/sysdeps/pthread/pthreadP.h b/sysdeps/pthread/pthreadP.h new file mode 100644 index 0000000..97e3028 --- /dev/null +++ b/sysdeps/pthread/pthreadP.h @@ -0,0 +1,27 @@ +/* Copyright (C) 2016 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _PTHREADP_H +#define _PTHREADP_H 1 + +#include + +extern pthread_t __pthread_self (void); +extern int __pthread_kill (pthread_t threadid, int signo); +extern struct __pthread **__pthread_threads; + +#endif /* pthreadP.h */ -- cgit v1.2.3