From: GNU Libc Maintainers Date: Sat, 17 Sep 2016 18:00:44 +0000 (+0000) Subject: cvs-hidden X-Git-Tag: archive/raspbian/2.25-3+rpi1~1^2^2^2^2^2^2^2^2^2^2^2^2~76 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e576d5d4e4d4503d63deab0ba0f3238006c4214b;p=glibc.git cvs-hidden Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name cvs-hidden.diff --- diff --git a/libpthread/sysdeps/generic/pt-key-create.c b/libpthread/sysdeps/generic/pt-key-create.c index de05095cb..33f691b4a 100644 --- a/libpthread/sysdeps/generic/pt-key-create.c +++ b/libpthread/sysdeps/generic/pt-key-create.c @@ -21,9 +21,10 @@ #include int -pthread_key_create (pthread_key_t *key, void (*destructor) (void *)) +__pthread_key_create (pthread_key_t *key, void (*destructor) (void *)) { return ENOSYS; } +strong_alias (__pthread_key_create, pthread_key_create) stub_warning (pthread_key_create) diff --git a/libpthread/sysdeps/generic/shm-directory.h b/libpthread/sysdeps/generic/shm-directory.h new file mode 100644 index 000000000..8950284f0 --- /dev/null +++ b/libpthread/sysdeps/generic/shm-directory.h @@ -0,0 +1,31 @@ +/* Header for directory for shm/sem files. libpthread version. + Copyright (C) 2014-2015 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 _SHM_DIRECTORY_H + +#include + +/* For libpthread the __shm_directory function lives in libpthread. + We don't want PLT calls from there. But it's also used from + librt, so it cannot just be declared hidden. */ + +#if IS_IN (libpthread) +hidden_proto (__shm_directory) +#endif + +#endif /* shm-directory.h */ diff --git a/libpthread/sysdeps/hurd/pt-key-create.c b/libpthread/sysdeps/hurd/pt-key-create.c index 42c7c853f..f26ec3696 100644 --- a/libpthread/sysdeps/hurd/pt-key-create.c +++ b/libpthread/sysdeps/hurd/pt-key-create.c @@ -108,4 +108,3 @@ __pthread_key_create (pthread_key_t *key, void (*destructor) (void *)) return 0; } strong_alias (__pthread_key_create, pthread_key_create) -hidden_def (__pthread_key_create)