forked from aniani/vim
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Problem: Using "volatile int" in a signal handler might be wrong. Solution: Use "volatile sig_atomic_t".
This commit is contained in:
@@ -87,6 +87,6 @@ int xsmp_handle_requests(void);
|
||||
void xsmp_init(void);
|
||||
void xsmp_close(void);
|
||||
void stop_timeout(void);
|
||||
volatile int *start_timeout(long msec);
|
||||
volatile sig_atomic_t *start_timeout(long msec);
|
||||
void delete_timer(void);
|
||||
/* vim: set ft=c : */
|
||||
|
||||
@@ -85,5 +85,5 @@ int get_conpty_fix_type(void);
|
||||
void resize_console_buf(void);
|
||||
char *GetWin32Error(void);
|
||||
void stop_timeout(void);
|
||||
volatile int *start_timeout(long msec);
|
||||
volatile sig_atomic_t *start_timeout(long msec);
|
||||
/* vim: set ft=c : */
|
||||
|
||||
Reference in New Issue
Block a user