summaryrefslogtreecommitdiff
path: root/libutil/openpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/openpty.c')
-rw-r--r--libutil/openpty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libutil/openpty.c b/libutil/openpty.c
index 848dc8d38..e14cbc57d 100644
--- a/libutil/openpty.c
+++ b/libutil/openpty.c
@@ -85,8 +85,8 @@ pts_name (int fd, char **pts, size_t buf_len)
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,
- struct winsize *winp)
+openpty (int *amaster, int *aslave, char *name, const struct termios *termp,
+ const struct winsize *winp)
{
#if 0
#ifdef PATH_MAX