diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-04-03 08:00:49 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-03 08:00:49 (GMT) |
commit | 28f35b24b67961626caa00dfee2c18223a05b696 (patch) | |
tree | 2aeafeae229b5af8bae3e072f6d6c312c1f0ac4a /Modules/readline.c | |
parent | 5dbbf1abba89ef1766759fbc9d5a5af02db49505 (diff) | |
download | cpython-28f35b24b67961626caa00dfee2c18223a05b696.zip cpython-28f35b24b67961626caa00dfee2c18223a05b696.tar.gz cpython-28f35b24b67961626caa00dfee2c18223a05b696.tar.bz2 |
Issue #23735: Avoid sighandler_t Gnu-ism
Diffstat (limited to 'Modules/readline.c')
-rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index 82daa52..be57f8f 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -930,7 +930,7 @@ on_completion_display_matches_hook(char **matches, #ifdef HAVE_RL_RESIZE_TERMINAL static volatile sig_atomic_t sigwinch_received; -static sighandler_t sigwinch_ohandler; +static PyOS_sighandler_t sigwinch_ohandler; static void readline_sigwinch_handler(int signum) |