diff options
| author | Eli Zaretskii | 2016-12-09 18:23:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-12-09 18:23:04 +0200 |
| commit | 7399f53a3706c8cb6ce27f7fe51fb5dc79e39bc1 (patch) | |
| tree | 88e4212341ca08f9da3d8c1ea71cf033c11b1324 /src/process.c | |
| parent | ae490069eafa68356405fc9719910a4c533f14ea (diff) | |
| download | emacs-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.c | 2 |
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 |
| 140 | extern int sys_select (int, fd_set *, fd_set *, fd_set *, | 140 | extern 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 |