diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-30 07:21:14 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-30 08:43:37 +0200 |
commit | 734c60ebb607086ad6d67b2544d6b7baba72a652 (patch) | |
tree | 3d0480b60b81da20b51df998f6585feeb85a8d14 /include/utmp.h | |
parent | 98164ba55d01dfe517a71cbc5538ff1f5dc563d6 (diff) | |
download | glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.tar.gz glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.tar.xz glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.zip |
login: Move libutil into libc
The symbols forkpty, login, login_tty, logout, logwtmp, openpty were moved using scripts/move-symbol-to-libc.py. This is a single commit because most of the symbols are tied together via forkpty, for example. Several changes to use hidden prototypes are needed. This commit also updates pseudoterminal terminology on modified lines. For 390 (31-bit), this commit follows the existing style for the compat symbol version creation. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include/utmp.h')
-rw-r--r-- | include/utmp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/utmp.h b/include/utmp.h index e8162bd08d..b7921e5fb8 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -29,7 +29,10 @@ extern int __getutline_r (const struct utmp *__line, struct utmp *__buffer, struct utmp **__result); libc_hidden_proto (__getutline_r) -libutil_hidden_proto (login_tty) +libc_hidden_proto (login) +libc_hidden_proto (login_tty) +libc_hidden_proto (logout) +libc_hidden_proto (logwtmp) # endif /* !_ISOMAC */ #endif |