diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 15:41:39 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 15:41:39 +0000 |
commit | 16c9ca827cd735002dec5689f93f22fc358d6f56 (patch) | |
tree | fbfaa8e020a3a762a96c4f219d4150e369e00099 /include/utmp.h | |
parent | daa262720d3dc357a298b18a359551994082c9b3 (diff) | |
parent | 963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff) |
Merge commit 'refs/top-bases/t/bits_atomic.h_multiple_threads' into t/bits_atomic.h_multiple_threadst/bits_atomic.h_multiple_threads
Diffstat (limited to 'include/utmp.h')
-rw-r--r-- | include/utmp.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/include/utmp.h b/include/utmp.h index 28207d1282..374184e9b2 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -1,21 +1,32 @@ #ifndef _UTMP_H #include <login/utmp.h> +# ifndef _ISOMAC + /* Now define the internal interfaces. */ extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp); -extern int __utmpname (const char *__file); +libc_hidden_proto (__updwtmp) +extern int __utmpname (const char *__file) attribute_hidden; extern struct utmp *__getutent (void); -extern void __setutent (void); -extern void __endutent (void); +libc_hidden_proto (__getutent) +extern void __setutent (void) attribute_hidden; +extern void __endutent (void) attribute_hidden; extern struct utmp *__getutid (const struct utmp *__id); +libc_hidden_proto (__getutid) extern struct utmp *__getutline (const struct utmp *__line); +libc_hidden_proto (__getutline) extern struct utmp *__pututline (const struct utmp *__utmp_ptr); +libc_hidden_proto (__pututline) extern int __getutent_r (struct utmp *__buffer, struct utmp **__result); +libc_hidden_proto (__getutent_r) extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer, struct utmp **__result); +libc_hidden_proto (__getutid_r) extern int __getutline_r (const struct utmp *__line, struct utmp *__buffer, struct utmp **__result); +libc_hidden_proto (__getutline_r) libutil_hidden_proto (login_tty) +# endif /* !_ISOMAC */ #endif |