summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-03 08:00:49 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-03 08:00:49 (GMT)
commit28f35b24b67961626caa00dfee2c18223a05b696 (patch)
tree2aeafeae229b5af8bae3e072f6d6c312c1f0ac4a /Modules/readline.c
parent5dbbf1abba89ef1766759fbc9d5a5af02db49505 (diff)
downloadcpython-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.c2
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)