summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-06-02 15:11:20 (GMT)
committerGitHub <noreply@github.com>2023-06-02 15:11:20 (GMT)
commita9305b5e80e414b8b9b2bd366e96b43add662d70 (patch)
treeb5b8213208fa9035ee638b8951629c9e7113d037 /Modules
parent44bb03f856c30f709bb983f9830eafe914a742aa (diff)
downloadcpython-a9305b5e80e414b8b9b2bd366e96b43add662d70.zip
cpython-a9305b5e80e414b8b9b2bd366e96b43add662d70.tar.gz
cpython-a9305b5e80e414b8b9b2bd366e96b43add662d70.tar.bz2
gh-105240: add missing function prototypes (#105241)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 2824105..ff7075c 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -1015,7 +1015,7 @@ static int
#if defined(_RL_FUNCTION_TYPEDEF)
on_startup_hook(void)
#else
-on_startup_hook()
+on_startup_hook(void)
#endif
{
int r;
@@ -1030,7 +1030,7 @@ static int
#if defined(_RL_FUNCTION_TYPEDEF)
on_pre_input_hook(void)
#else
-on_pre_input_hook()
+on_pre_input_hook(void)
#endif
{
int r;