diff options
| author | Paul Eggert | 2012-09-19 18:37:07 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-19 18:37:07 -0700 |
| commit | f75beb4787372df3dcc50cbb07407f45ff04bf04 (patch) | |
| tree | 19a41069b797bb16623d630b35343525f6172f01 /src/w32term.c | |
| parent | b019b76a181d6af0c73559b73f9735b91bc71d21 (diff) | |
| download | emacs-f75beb4787372df3dcc50cbb07407f45ff04bf04.tar.gz emacs-f75beb4787372df3dcc50cbb07407f45ff04bf04.zip | |
Omit unused arg EXPECTED from socket hooks.
* keyboard.c (gobble_input, read_avail_input, tty_read_avail_input):
* nsterm.m (ns_term_init):
* termhooks.h (struct terminal.read_socket_hook):
* w32inevt.c (w32_console_read_socket):
* w32term.c (w32_read_socket):
* xterm.c (XTread_socket):
Omit unused arg EXPECTED. All callers changed.
(store_user_signal_events): Return void, not int, since callers no
longer care about the return value. All uses changed.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c index 6244728b264..b8227c52fed 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -4137,8 +4137,6 @@ static char dbcs_lead = 0; | |||
| 4137 | We return the number of characters stored into the buffer, | 4137 | We return the number of characters stored into the buffer, |
| 4138 | thus pretending to be `read'. | 4138 | thus pretending to be `read'. |
| 4139 | 4139 | ||
| 4140 | EXPECTED is nonzero if the caller knows input is available. | ||
| 4141 | |||
| 4142 | Some of these messages are reposted back to the message queue since the | 4140 | Some of these messages are reposted back to the message queue since the |
| 4143 | system calls the windows proc directly in a context where we cannot return | 4141 | system calls the windows proc directly in a context where we cannot return |
| 4144 | the data nor can we guarantee the state we are in. So if we dispatch them | 4142 | the data nor can we guarantee the state we are in. So if we dispatch them |
| @@ -4149,7 +4147,7 @@ static char dbcs_lead = 0; | |||
| 4149 | */ | 4147 | */ |
| 4150 | 4148 | ||
| 4151 | static int | 4149 | static int |
| 4152 | w32_read_socket (struct terminal *terminal, int expected, | 4150 | w32_read_socket (struct terminal *terminal, |
| 4153 | struct input_event *hold_quit) | 4151 | struct input_event *hold_quit) |
| 4154 | { | 4152 | { |
| 4155 | int count = 0; | 4153 | int count = 0; |