Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion php_memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static
Exported helper functions
****************************************/

zend_bool php_memc_init_sasl_if_needed()
zend_bool php_memc_init_sasl_if_needed(void)
{
#ifdef HAVE_MEMCACHED_SASL
if (MEMC_G(sasl_initialised)) {
Expand Down
2 changes: 1 addition & 1 deletion php_memcached_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ char *php_memc_printable_func (zend_fcall_info *fci, zend_fcall_info_cache *fci_

memcached_return php_memcached_exist (memcached_st *memc, zend_string *key);

zend_bool php_memc_init_sasl_if_needed();
zend_bool php_memc_init_sasl_if_needed(void);

#endif /* PHP_MEMCACHED_PRIVATE_H */

Expand Down
2 changes: 1 addition & 1 deletion php_memcached_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ void s_accept_cb (evutil_socket_t fd, short what, void *arg)
}
}

php_memc_proto_handler_t *php_memc_proto_handler_new ()
php_memc_proto_handler_t *php_memc_proto_handler_new (void)
{
php_memc_proto_handler_t *handler = ecalloc (1, sizeof (php_memc_proto_handler_t));

Expand Down
2 changes: 1 addition & 1 deletion php_memcached_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef struct _php_memc_proto_handler_t php_memc_proto_handler_t;
/*
Functions
*/
php_memc_proto_handler_t *php_memc_proto_handler_new ();
php_memc_proto_handler_t *php_memc_proto_handler_new (void);

void php_memc_proto_handler_destroy (php_memc_proto_handler_t **ptr);

Expand Down
2 changes: 1 addition & 1 deletion php_memcached_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ time_t s_adjust_expiration(zend_long expiration)
}

static
time_t s_lock_expiration()
time_t s_lock_expiration(void)
{
if (MEMC_SESS_INI(lock_expiration) > 0) {
return s_adjust_expiration(MEMC_SESS_INI(lock_expiration));
Expand Down
Loading