Skip to content

Commit c2adfb4

Browse files
committed
Fix [-Wstrict-prototypes] in Readline extension
1 parent e60633f commit c2adfb4

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

0 commit comments

Comments
 (0)