Skip to content

Commit d73aab4

Browse files
committed
Fix [-Wstrict-prototypes] in Readline extension
1 parent 20950b7 commit d73aab4

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
@@ -735,7 +735,7 @@ this extension sharedto offer compatibility.
735735
#define GET_SHELL_CB(cb) \
736736
do { \
737737
(cb) = NULL; \
738-
cli_shell_callbacks_t *(*get_callbacks)(); \
738+
cli_shell_callbacks_t *(*get_callbacks)(void); \
739739
get_callbacks = dlsym(RTLD_DEFAULT, "php_cli_get_shell_callbacks"); \
740740
if (get_callbacks) { \
741741
(cb) = get_callbacks(); \

0 commit comments

Comments
 (0)