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 | |
parent | 98164ba55d01dfe517a71cbc5538ff1f5dc563d6 (diff) | |
download | glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.zip glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.tar.gz glibc-734c60ebb607086ad6d67b2544d6b7baba72a652.tar.bz2 |
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')
-rw-r--r-- | include/pty.h | 3 | ||||
-rw-r--r-- | include/utmp.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/pty.h b/include/pty.h index 4979bb7..93335fe 100644 --- a/include/pty.h +++ b/include/pty.h @@ -3,7 +3,8 @@ # ifndef _ISOMAC -libutil_hidden_proto (openpty) +libc_hidden_proto (forkpty) +libc_hidden_proto (openpty) # endif /* !_ISOMAC */ #endif diff --git a/include/utmp.h b/include/utmp.h index e8162bd..b7921e5 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 |