summaryrefslogtreecommitdiff
path: root/src/process.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-02-23 09:42:05 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-02-23 09:42:28 -0800
commit82848cf689c24a8bc635449846250ea6edb757c4 (patch)
tree4263b19e46cf62711d40ec14ccd3173225d48f2a /src/process.h
parentf4152efd2f7db87134e5e1c50e312a431e81db23 (diff)
downloademacs-82848cf689c24a8bc635449846250ea6edb757c4.tar.gz
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.h2
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
#ifdef HAVE_GETADDRINFO_A
/* Whether the socket is waiting for response from an asynchronous
DNS call. */
- struct gaicb **dns_requests;
+ struct gaicb *dns_request;
#endif
#ifdef HAVE_GNUTLS