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/w32.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/w32.c')
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -272,7 +272,7 @@ static BOOL WINAPI revert_to_self (void); | |||
| 272 | static int sys_access (const char *, int); | 272 | static int sys_access (const char *, int); |
| 273 | extern void *e_malloc (size_t); | 273 | extern void *e_malloc (size_t); |
| 274 | extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, | 274 | extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *, |
| 275 | struct timespec *, sigset_t *); | 275 | const struct timespec *, const sigset_t *); |
| 276 | extern int sys_dup (int); | 276 | extern int sys_dup (int); |
| 277 | 277 | ||
| 278 | 278 | ||