mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Fix remaining [-Wstrict-prototypes] warnings
Two missing void qualifiers for parameter list.
This commit is contained in:
parent
2068d230d9
commit
ff988a6f4f
@ -743,7 +743,7 @@ this extension sharedto offer compatibility.
|
||||
#define GET_SHELL_CB(cb) \
|
||||
do { \
|
||||
(cb) = NULL; \
|
||||
cli_shell_callbacks_t *(*get_callbacks)(); \
|
||||
cli_shell_callbacks_t *(*get_callbacks)(void); \
|
||||
get_callbacks = dlsym(RTLD_DEFAULT, "php_cli_get_shell_callbacks"); \
|
||||
if (get_callbacks) { \
|
||||
(cb) = get_callbacks(); \
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
static int fpm_event_kqueue_init(int max);
|
||||
static int fpm_event_kqueue_clean();
|
||||
static int fpm_event_kqueue_clean(void);
|
||||
static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
|
||||
static int fpm_event_kqueue_add(struct fpm_event_s *ev);
|
||||
static int fpm_event_kqueue_remove(struct fpm_event_s *ev);
|
||||
|
Loading…
Reference in New Issue
Block a user