diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:15:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:19:38 +0200 |
commit | 0b7d48d1062e4383b4a78e0bb78c5f0f29479780 (patch) | |
tree | 7f68d1ddf402078c5ba49416a076b7875fb18b75 /misc/mktemp.c | |
parent | 19cc20ef2e8b9e09429741a3108e55c50758a273 (diff) | |
download | glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar.gz glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.tar.xz glibc-0b7d48d1062e4383b4a78e0bb78c5f0f29479780.zip |
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 <adhemerval.zanella@linaro.org>
Diffstat (limited to 'misc/mktemp.c')
-rw-r--r-- | misc/mktemp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/mktemp.c b/misc/mktemp.c index 92bb121ddf..07f195f845 100644 --- a/misc/mktemp.c +++ b/misc/mktemp.c @@ -30,6 +30,7 @@ __mktemp (char *template) return template; } +libc_hidden_def (__mktemp) weak_alias (__mktemp, mktemp) link_warning (mktemp, "the use of `mktemp' is dangerous, " |