aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2016-12-07 19:08:24 +0200
committerEli Zaretskii2016-12-07 19:08:24 +0200
commit16ac7c0fc91b5eb09f2a129fc2c01281369f897a (patch)
treeeda19beb88a398d83bb1c26bad45bad89204b17e /src
parent8ad92413b9349613f9815bd0aaf523896a84b479 (diff)
downloademacs-16ac7c0fc91b5eb09f2a129fc2c01281369f897a.tar.gz
emacs-16ac7c0fc91b5eb09f2a129fc2c01281369f897a.zip
Minimize spurious diffs from master.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c2
-rw-r--r--src/w32.h1
-rw-r--r--src/w32proc.c8
3 files changed, 6 insertions, 5 deletions
diff --git a/src/w32.c b/src/w32.c
index 7a80275a7c8..086c1acfb38 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -272,7 +272,7 @@ static BOOL WINAPI revert_to_self (void);
272static int sys_access (const char *, int); 272static int sys_access (const char *, int);
273extern void *e_malloc (size_t); 273extern void *e_malloc (size_t);
274extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, 274extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *,
275 struct timespec *, sigset_t *); 275 struct timespec *, void *);
276extern int sys_dup (int); 276extern int sys_dup (int);
277 277
278 278
diff --git a/src/w32.h b/src/w32.h
index 760bb14c00d..702bb5255cd 100644
--- a/src/w32.h
+++ b/src/w32.h
@@ -25,6 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25 25
26#include <windows.h> 26#include <windows.h>
27 27
28
28/* File descriptor set emulation. */ 29/* File descriptor set emulation. */
29 30
30/* MSVC runtime library has limit of 64 descriptors by default */ 31/* MSVC runtime library has limit of 64 descriptors by default */
diff --git a/src/w32proc.c b/src/w32proc.c
index c4f1f693741..c9bc28510f7 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -72,7 +72,7 @@ extern BOOL g_b_init_compare_string_w;
72extern BOOL g_b_init_debug_break_process; 72extern BOOL g_b_init_debug_break_process;
73 73
74int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, 74int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *,
75 struct timespec *, sigset_t *); 75 struct timespec *, void *);
76 76
77/* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */ 77/* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */
78static signal_handler sig_handlers[NSIG]; 78static signal_handler sig_handlers[NSIG];
@@ -849,8 +849,8 @@ alarm (int seconds)
849 stream is terminated, terminates the reader thread as part of 849 stream is terminated, terminates the reader thread as part of
850 deleting the child_process object. 850 deleting the child_process object.
851 851
852 The sys_select function emulates the Posix 'pselect' function; it 852 The sys_select function emulates the Posix 'pselect' functionality;
853 is needed because the Windows 'select' function supports only 853 it is needed because the Windows 'select' function supports only
854 network sockets, while Emacs expects 'pselect' to work for any file 854 network sockets, while Emacs expects 'pselect' to work for any file
855 descriptor, including pipes and serial streams. 855 descriptor, including pipes and serial streams.
856 856
@@ -2096,7 +2096,7 @@ extern int proc_buffered_char[];
2096 2096
2097int 2097int
2098sys_select (int nfds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds, 2098sys_select (int nfds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds,
2099 struct timespec *timeout, sigset_t *ignored) 2099 struct timespec *timeout, void *ignored)
2100{ 2100{
2101 SELECT_TYPE orfds, owfds; 2101 SELECT_TYPE orfds, owfds;
2102 DWORD timeout_ms, start_time; 2102 DWORD timeout_ms, start_time;