diff options
| author | Paul Eggert | 2016-02-23 09:42:05 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-02-23 09:42:28 -0800 |
| commit | 82848cf689c24a8bc635449846250ea6edb757c4 (patch) | |
| tree | 4263b19e46cf62711d40ec14ccd3173225d48f2a /src/process.h | |
| parent | f4152efd2f7db87134e5e1c50e312a431e81db23 (diff) | |
| download | emacs-82848cf689c24a8bc635449846250ea6edb757c4.tar.gz emacs-82848cf689c24a8bc635449846250ea6edb757c4.zip | |
Minor cleanups for async DNS etc.
* src/frame.h (FRAME_WINDOW_CONFIGURATION_CHANGED):
Omit unnecessary parens.
* src/gnutls.c (gnutls_try_handshake, emacs_gnutls_deinit)
(gnutls_verify_boot):
Use bool for boolean.
(ATTRIBUTE_FORMAT_PRINTF): Add printf attribute.
* src/process.c (free_dns_request, Fmake_network_process):
Allocate and free async request control block all in one go.
(set_network_socket_coding_system, finish_after_tls_connection)
(connect_network_socket):
Now static.
(conv_numerical_to_lisp): 2nd arg is now int, not unsigned.
(Fmake_network_process): Use list1 for brevity.
(wait_for_socket_fds): 2nd arg is now const ptr.
* src/process.h (struct Lisp_Process.dns_request):
Now struct gaicb *, not struct gaicb **, since there was always
exactly one. All uses changed.
* src/window.c, src/window.h (run_window_configuration_change_hook):
Now static.
Diffstat (limited to 'src/process.h')
| -rw-r--r-- | src/process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.h b/src/process.h index c7531576915..884c3041f67 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -179,7 +179,7 @@ struct Lisp_Process | |||
| 179 | #ifdef HAVE_GETADDRINFO_A | 179 | #ifdef HAVE_GETADDRINFO_A |
| 180 | /* Whether the socket is waiting for response from an asynchronous | 180 | /* Whether the socket is waiting for response from an asynchronous |
| 181 | DNS call. */ | 181 | DNS call. */ |
| 182 | struct gaicb **dns_requests; | 182 | struct gaicb *dns_request; |
| 183 | #endif | 183 | #endif |
| 184 | 184 | ||
| 185 | #ifdef HAVE_GNUTLS | 185 | #ifdef HAVE_GNUTLS |