diff options
author | wm4 <wm4@nowhere> | 2017-06-27 17:38:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-27 18:08:56 +0200 |
commit | dd87ce6f4b201a9e6d258f6b101abb2f47bcb40f (patch) | |
tree | 12bfd6e10ee0c63197d72c4347e42b8c0c02c440 /osdep/terminal-unix.c | |
parent | 5cd7b1c8a6c1bcd6eba3f710812ca544f71fdf5d (diff) | |
download | mpv-dd87ce6f4b201a9e6d258f6b101abb2f47bcb40f.tar.bz2 mpv-dd87ce6f4b201a9e6d258f6b101abb2f47bcb40f.tar.xz |
terminal: remove unused return value
Diffstat (limited to 'osdep/terminal-unix.c')
-rw-r--r-- | osdep/terminal-unix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c index 9d30acfdd1..ffd6ee486c 100644 --- a/osdep/terminal-unix.c +++ b/osdep/terminal-unix.c @@ -474,7 +474,7 @@ void terminal_get_size(int *w, int *h) *h = ws.ws_row; } -int terminal_init(void) +void terminal_init(void) { assert(!getch2_enabled); getch2_enabled = 1; @@ -486,6 +486,4 @@ int terminal_init(void) setsigaction(SIGTTOU, SIG_IGN, 0, true); getch2_poll(); - - return 0; } |