summaryrefslogtreecommitdiffstats
path: root/source/lib/getsmbpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/getsmbpass.c')
-rw-r--r--source/lib/getsmbpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/getsmbpass.c b/source/lib/getsmbpass.c
index 9008d40f910..e8cb683d0b1 100644
--- a/source/lib/getsmbpass.c
+++ b/source/lib/getsmbpass.c
@@ -45,7 +45,7 @@ static struct termio t;
return ioctl(fd, TCGETA, t);
}
- int tcsetattr(int fd, int flags, const struct termio *t)
+ int tcsetattr(int fd, int flags, struct termio *t)
{
if(flags & TCSAFLUSH)
ioctl(fd, TCFLSH, TCIOFLUSH);
@@ -76,7 +76,7 @@ static struct sgttyb t;
return ioctl(fd, TIOCGETP, (char *)t);
}
- int tcsetattr(int fd, int flags, const struct sgttyb *t)
+ int tcsetattr(int fd, int flags, struct sgttyb *t)
{
return ioctl(fd, TIOCSETP, (char *)t);
}