diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-30 07:21:13 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-30 07:28:27 +0200 |
commit | 98164ba55d01dfe517a71cbc5538ff1f5dc563d6 (patch) | |
tree | 91ce46b3531c1f28c93cd63ae30fc17d9b93dd5e /login | |
parent | 8d1f854d60d159931594f31993599b9d9168552b (diff) | |
download | glibc-98164ba55d01dfe517a71cbc5538ff1f5dc563d6.tar glibc-98164ba55d01dfe517a71cbc5538ff1f5dc563d6.tar.gz glibc-98164ba55d01dfe517a71cbc5538ff1f5dc563d6.tar.bz2 glibc-98164ba55d01dfe517a71cbc5538ff1f5dc563d6.zip |
login: Rework hidden prototypes for __setutent, __utmpname, __endutent
Replace attribute_hidden with a regular combination of
libc_hidden_proto and libc_hidden_def.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'login')
-rw-r--r-- | login/getutent_r.c | 2 | ||||
-rw-r--r-- | login/utmpname.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/login/getutent_r.c b/login/getutent_r.c index 0af48acec8..58d3d5fd0c 100644 --- a/login/getutent_r.c +++ b/login/getutent_r.c @@ -36,6 +36,7 @@ __setutent (void) __libc_lock_unlock (__libc_utmp_lock); } +libc_hidden_def (__setutent) weak_alias (__setutent, setutent) @@ -82,4 +83,5 @@ __endutent (void) __libc_lock_unlock (__libc_utmp_lock); } +libc_hidden_def (__endutent) weak_alias (__endutent, endutent) diff --git a/login/utmpname.c b/login/utmpname.c index c85c27fe68..a645445e8a 100644 --- a/login/utmpname.c +++ b/login/utmpname.c @@ -72,4 +72,5 @@ done: __libc_lock_unlock (__libc_utmp_lock); return result; } +libc_hidden_def (__utmpname) weak_alias (__utmpname, utmpname) |