Skip to content

Commit ff988a6

Browse files
committed
Fix remaining [-Wstrict-prototypes] warnings
Two missing void qualifiers for parameter list.
1 parent 2068d23 commit ff988a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/readline/readline_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ this extension sharedto offer compatibility.
743743
#define GET_SHELL_CB(cb) \
744744
do { \
745745
(cb) = NULL; \
746-
cli_shell_callbacks_t *(*get_callbacks)(); \
746+
cli_shell_callbacks_t *(*get_callbacks)(void); \
747747
get_callbacks = dlsym(RTLD_DEFAULT, "php_cli_get_shell_callbacks"); \
748748
if (get_callbacks) { \
749749
(cb) = get_callbacks(); \

sapi/fpm/fpm/events/kqueue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <errno.h>
2929

3030
static int fpm_event_kqueue_init(int max);
31-
static int fpm_event_kqueue_clean();
31+
static int fpm_event_kqueue_clean(void);
3232
static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
3333
static int fpm_event_kqueue_add(struct fpm_event_s *ev);
3434
static int fpm_event_kqueue_remove(struct fpm_event_s *ev);

0 commit comments

Comments
 (0)