Skip to content

Commit 2b2f51b

Browse files
committed
Fix [-Wstrict-prototypes] in Readline extension
1 parent 2b84a97 commit 2b2f51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/readline/readline_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ this extension sharedto offer compatibility.
728728
#define GET_SHELL_CB(cb) \
729729
do { \
730730
(cb) = NULL; \
731-
cli_shell_callbacks_t *(*get_callbacks)(); \
731+
cli_shell_callbacks_t *(*get_callbacks)(void); \
732732
get_callbacks = dlsym(RTLD_DEFAULT, "php_cli_get_shell_callbacks"); \
733733
if (get_callbacks) { \
734734
(cb) = get_callbacks(); \

0 commit comments

Comments
 (0)