From 734c60ebb607086ad6d67b2544d6b7baba72a652 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 30 Jun 2021 07:21:14 +0200 Subject: 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 --- include/pty.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/pty.h') diff --git a/include/pty.h b/include/pty.h index 4979bb765f..93335fe3b6 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 -- cgit v1.2.3