From 98164ba55d01dfe517a71cbc5538ff1f5dc563d6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 30 Jun 2021 07:21:13 +0200 Subject: 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 --- include/utmp.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/utmp.h b/include/utmp.h index 374184e9b2..e8162bd08d 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -6,11 +6,14 @@ /* Now define the internal interfaces. */ extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp); libc_hidden_proto (__updwtmp) -extern int __utmpname (const char *__file) attribute_hidden; +extern int __utmpname (const char *__file); +libc_hidden_proto (__utmpname) extern struct utmp *__getutent (void); libc_hidden_proto (__getutent) -extern void __setutent (void) attribute_hidden; -extern void __endutent (void) attribute_hidden; +extern void __setutent (void); +libc_hidden_proto (__setutent) +extern void __endutent (void); +libc_hidden_proto (__endutent) extern struct utmp *__getutid (const struct utmp *__id); libc_hidden_proto (__getutid) extern struct utmp *__getutline (const struct utmp *__line); -- cgit v1.2.3