about summary refs log tree commit diff
path: root/login/forkpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/forkpty.c')
-rw-r--r--login/forkpty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login/forkpty.c b/login/forkpty.c
index ccd5dbfe0e..482aebcb28 100644
--- a/login/forkpty.c
+++ b/login/forkpty.c
@@ -27,8 +27,8 @@ int
 forkpty (amaster, name, termp, winp)
      int *amaster;
      char *name;
-     struct termios *termp;
-     struct winsize *winp;
+     const struct termios *termp;
+     const struct winsize *winp;
 {
   int master, slave, pid;