Fix remaining [-Wstrict-prototypes] warnings

Two missing void qualifiers for parameter list.
This commit is contained in:
George Peter Banyard 2021-05-12 19:01:35 +01:00
parent 2068d230d9
commit ff988a6f4f
No known key found for this signature in database
GPG Key ID: D49A095D7329F6DC
2 changed files with 2 additions and 2 deletions

View File

@ -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(); \

View File

@ -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);