diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-25 23:59:45 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-25 23:59:45 +0100 |
commit | 6ff9c31abc14f207265ab214370982ecb3bfe428 (patch) | |
tree | afdaf5624e71c939c39abe8ef3aba5980aa4d911 /include/pty.h | |
parent | 2b33716c08cc506e57115e34b5fe11d8d5477398 (diff) |
utmp: favour POSIX utmpx over SVID utmp
Note: _PATH_UTMPX == _PATH_UTMP and the utmp struct is identical to the
utmpx struct so this only changes the external API entrypoints and NOT
the underlying data source.
This saves about 500b (~1300b from previously ~1950) while at it.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/pty.h')
-rw-r--r-- | include/pty.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pty.h b/include/pty.h index 26c3011c6..f23a260ae 100644 --- a/include/pty.h +++ b/include/pty.h @@ -32,6 +32,7 @@ __BEGIN_DECLS ends in AMASTER and ASLAVE. */ extern int openpty (int *__amaster, int *__aslave, char *__name, struct termios *__termp, struct winsize *__winp) __THROW; +libutil_hidden_proto(openpty) /* Create child process and establish the slave pseudo terminal as the child's controlling terminal. */ |