From 0b7d48d1062e4383b4a78e0bb78c5f0f29479780 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 5 May 2021 17:15:57 +0200 Subject: nptl: Move sem_close, sem_open into libc The symbols were moved using move-symbol-to-libc.py. Both functions are moved at the same time because they depend on internal functions in sysdeps/pthread/sem_routines.c, which are moved in this commit as well. Additional hidden prototypes are required to avoid check-localplt failures. Reviewed-by: Adhemerval Zanella --- include/shm-directory.h | 1 + include/stdlib.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/shm-directory.h b/include/shm-directory.h index 1d3ffb6137..25e9484a5d 100644 --- a/include/shm-directory.h +++ b/include/shm-directory.h @@ -37,5 +37,6 @@ struct shmdir_name SEM_PREFIX is true. */ int __shm_get_name (struct shmdir_name *result, const char *name, bool sem_prefix); +libc_hidden_proto (__shm_get_name) #endif /* shm-directory.h */ diff --git a/include/stdlib.h b/include/stdlib.h index cdbdbf310d..e2453c1896 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -91,6 +91,7 @@ extern int __setenv (const char *__name, const char *__value, int __replace) extern int __unsetenv (const char *__name) attribute_hidden; extern int __clearenv (void) attribute_hidden; extern char *__mktemp (char *__template) __THROW __nonnull ((1)); +libc_hidden_proto (__mktemp) extern char *__canonicalize_file_name (const char *__name); extern char *__realpath (const char *__name, char *__resolved); libc_hidden_proto (__realpath) -- cgit v1.2.3-70-g09d2