summaryrefslogtreecommitdiff
path: root/Zend/zend_llist.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-02-18 20:04:32 +0000
committerSascha Schumann <sas@php.net>2000-02-18 20:04:32 +0000
commitd7e34cf6ea77c1639ed367c5216fc4f5be0286d7 (patch)
treecb95e0ea643ea4f8396d1d9a4a3fe18eb38b0b0a /Zend/zend_llist.c
parentf1dac01f11d8f504cd72af163974c15b5378efbf (diff)
downloadphp-git-d7e34cf6ea77c1639ed367c5216fc4f5be0286d7.tar.gz
Get rid of second declaration of compare_func_t. Either put in a common
header file or prefix it with i.e. zend_llist_
Diffstat (limited to 'Zend/zend_llist.c')
-rw-r--r--Zend/zend_llist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c
index c8351ccadb..d96bfa09d9 100644
--- a/Zend/zend_llist.c
+++ b/Zend/zend_llist.c
@@ -171,7 +171,7 @@ ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func)
*ptr++ = element;
}
- qsort(elements, list_size, sizeof(zend_llist_element *), (compare_func_t) comp_func);
+ qsort(elements, list_size, sizeof(zend_llist_element *), (int (*)(const void *, const void *)) comp_func);
l->head = elements[0];
elements[0]->prev = NULL;