summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-15 10:59:58 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-15 11:01:12 +0200
commitd68dfaf05e88b5962416a656d625f53bb0288236 (patch)
treeebfe646fb8f04f3e103417c509559272808205fa /sapi/cli/php_cli.c
parent90435637756fb8c473938853bc6d3ecfa9f2eeff (diff)
downloadphp-git-d68dfaf05e88b5962416a656d625f53bb0288236.tar.gz
Remove return value from llist apply functions
Unlike the hash apply functions, these do not return int.
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index a5aafcd231..d80b2fb95b 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -195,10 +195,9 @@ static void print_modules(void) /* {{{ */
}
/* }}} */
-static int print_extension_info(zend_extension *ext, void *arg) /* {{{ */
+static void print_extension_info(zend_extension *ext) /* {{{ */
{
php_printf("%s\n", ext->name);
- return ZEND_HASH_APPLY_KEEP;
}
/* }}} */