summaryrefslogtreecommitdiff
path: root/libutil/openpty.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-21 20:40:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-21 20:40:14 +0000
commite2d30731f8ced0389894f5cd1e81f484c50b1c02 (patch)
tree84d56b3bb1e947ca8085b21a9a5e1d56abd367e3 /libutil/openpty.c
parent67e320f2201b518732cc46b59ff4f5b0b79c8aec (diff)
Use internal hidden versions of __login_tty/__openpty
Diffstat (limited to 'libutil/openpty.c')
-rw-r--r--libutil/openpty.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libutil/openpty.c b/libutil/openpty.c
index f0574474b..c33407143 100644
--- a/libutil/openpty.c
+++ b/libutil/openpty.c
@@ -90,8 +90,8 @@ pts_name (int fd, char **pts, size_t buf_len)
/* Create pseudo tty master slave pair and set terminal attributes
according to TERMP and WINP. Return handles for both ends in
AMASTER and ASLAVE, and return the name of the slave end in NAME. */
-int
-openpty (int *amaster, int *aslave, char *name, struct termios *termp,
+int attribute_hidden
+__openpty (int *amaster, int *aslave, char *name, struct termios *termp,
struct winsize *winp)
{
#if 0
@@ -158,3 +158,5 @@ openpty (int *amaster, int *aslave, char *name, struct termios *termp,
close (master);
return -1;
}
+
+strong_alias(__openpty,openpty)