Skip to content

Commit a9305b5

Browse files
authored
gh-105240: add missing function prototypes (#105241)
1 parent 44bb03f commit a9305b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/readline.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ static int
10151015
#if defined(_RL_FUNCTION_TYPEDEF)
10161016
on_startup_hook(void)
10171017
#else
1018-
on_startup_hook()
1018+
on_startup_hook(void)
10191019
#endif
10201020
{
10211021
int r;
@@ -1030,7 +1030,7 @@ static int
10301030
#if defined(_RL_FUNCTION_TYPEDEF)
10311031
on_pre_input_hook(void)
10321032
#else
1033-
on_pre_input_hook()
1033+
on_pre_input_hook(void)
10341034
#endif
10351035
{
10361036
int r;

0 commit comments

Comments
 (0)