mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
ptyfwd: voidify more calls (#10310)
This commit is contained in:
parent
29abe1664e
commit
4b3c721234
@ -88,8 +88,8 @@ static void pty_forward_disconnect(PTYForward *f) {
|
||||
}
|
||||
|
||||
/* STDIN/STDOUT should not be nonblocking normally, so let's unconditionally reset it */
|
||||
fd_nonblock(STDIN_FILENO, false);
|
||||
fd_nonblock(STDOUT_FILENO, false);
|
||||
(void) fd_nonblock(STDIN_FILENO, false);
|
||||
(void) fd_nonblock(STDOUT_FILENO, false);
|
||||
}
|
||||
|
||||
static int pty_forward_done(PTYForward *f, int rcode) {
|
||||
|
Loading…
Reference in New Issue
Block a user