summaryrefslogtreecommitdiff
path: root/Zend/zend_llist.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-09-13 22:05:37 +0200
committerNikita Popov <nikic@php.net>2014-09-13 22:07:51 +0200
commit21a5253ea98a20239457e3c4f785431d14d64de6 (patch)
tree057e545b6525c6e33f3b9183756a96e8625d359b /Zend/zend_llist.h
parent345b0f44c30d3d42f9a0088718aa712b1d0754d5 (diff)
downloadphp-git-21a5253ea98a20239457e3c4f785431d14d64de6.tar.gz
Make zend_llist_remove_tail a void function
The returned data is already dtored and freed at this point.
Diffstat (limited to 'Zend/zend_llist.h')
-rw-r--r--Zend/zend_llist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_llist.h b/Zend/zend_llist.h
index b05ece8077..602884c27d 100644
--- a/Zend/zend_llist.h
+++ b/Zend/zend_llist.h
@@ -53,7 +53,7 @@ ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element);
ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, void *element2));
ZEND_API void zend_llist_destroy(zend_llist *l);
ZEND_API void zend_llist_clean(zend_llist *l);
-ZEND_API void *zend_llist_remove_tail(zend_llist *l);
+ZEND_API void zend_llist_remove_tail(zend_llist *l);
ZEND_API void zend_llist_copy(zend_llist *dst, zend_llist *src);
ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func TSRMLS_DC);
ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data));