aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32.c
diff options
context:
space:
mode:
authorEli Zaretskii2016-12-09 18:23:04 +0200
committerEli Zaretskii2016-12-09 18:23:04 +0200
commit7399f53a3706c8cb6ce27f7fe51fb5dc79e39bc1 (patch)
tree88e4212341ca08f9da3d8c1ea71cf033c11b1324 /src/w32.c
parentae490069eafa68356405fc9719910a4c533f14ea (diff)
downloademacs-7399f53a3706c8cb6ce27f7fe51fb5dc79e39bc1.tar.gz
emacs-7399f53a3706c8cb6ce27f7fe51fb5dc79e39bc1.zip
Fix compilation warnings due to prototype of thread_select
* src/thread.h <int select_func>: Make the 5th and 6th arguments be 'const'. * src/process.c [WINDOWSNT]: * src/w32proc.c: Make the 5th and 6th argument to sys_select be 'const'.
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 7a80275a7c8..c6fc7ef8567 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 const struct timespec *, const sigset_t *);
276extern int sys_dup (int); 276extern int sys_dup (int);
277 277
278 278