diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/barrier.h | 2 | ||||
-rw-r--r-- | src/shared/ptyfwd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/barrier.h b/src/shared/barrier.h index 7816fae576..b8954694d3 100644 --- a/src/shared/barrier.h +++ b/src/shared/barrier.h @@ -86,6 +86,6 @@ static inline bool barrier_is_aborted(Barrier *b) { } static inline bool barrier_place_and_sync(Barrier *b) { - (void)barrier_place(b); + (void) barrier_place(b); return barrier_sync(b); } diff --git a/src/shared/ptyfwd.c b/src/shared/ptyfwd.c index 9d4d61cef5..789f217efc 100644 --- a/src/shared/ptyfwd.c +++ b/src/shared/ptyfwd.c @@ -342,7 +342,7 @@ int pty_forward_new( f->master = master; if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) >= 0) - (void)ioctl(master, TIOCSWINSZ, &ws); + (void) ioctl(master, TIOCSWINSZ, &ws); if (!read_only) { if (tcgetattr(STDIN_FILENO, &f->saved_stdin_attr) >= 0) { |