aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.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/process.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/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 7d3cf19d57f..a60814b2386 100644
--- a/src/process.c
+++ b/src/process.c
@@ -138,7 +138,7 @@ static struct rlimit nofile_limit;
138 138
139#ifdef WINDOWSNT 139#ifdef WINDOWSNT
140extern int sys_select (int, fd_set *, fd_set *, fd_set *, 140extern int sys_select (int, fd_set *, fd_set *, fd_set *,
141 struct timespec *, sigset_t *); 141 const struct timespec *, const sigset_t *);
142#endif 142#endif
143 143
144/* Work around GCC 4.3.0 bug with strict overflow checking; see 144/* Work around GCC 4.3.0 bug with strict overflow checking; see