~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
openal-soft: Update from 1.18.0 to 1.18.1
[termux-packages]
/
packages
/
libutil
/
pty.c
diff --git
a/packages/libutil/pty.c
b/packages/libutil/pty.c
index
a2b8958
..
435e75e
100644
(file)
--- a/
packages/libutil/pty.c
+++ b/
packages/libutil/pty.c
@@
-7,7
+7,7
@@
#include <unistd.h>
#include <unistd.h>
-int openpty(int* amaster, int* aslave, char* name,
struct termios* termp,
struct winsize* winp)
+int openpty(int* amaster, int* aslave, char* name,
const struct termios* termp, const
struct winsize* winp)
{
char buf[512];
{
char buf[512];
@@
-45,7
+45,7
@@
int login_tty(int fd)
}
}
-int forkpty(int* amaster, char* name,
struct termios* termp,
struct winsize* winp)
+int forkpty(int* amaster, char* name,
const struct termios* termp, const
struct winsize* winp)
{
int master, slave;
if (openpty(&master, &slave, name, termp, winp) == -1) {
{
int master, slave;
if (openpty(&master, &slave, name, termp, winp) == -1) {