diff options
author | Sascha Schumann <sas@php.net> | 2000-02-18 20:04:32 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-02-18 20:04:32 +0000 |
commit | d7e34cf6ea77c1639ed367c5216fc4f5be0286d7 (patch) | |
tree | cb95e0ea643ea4f8396d1d9a4a3fe18eb38b0b0a /Zend/zend_llist.c | |
parent | f1dac01f11d8f504cd72af163974c15b5378efbf (diff) | |
download | php-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.c | 2 |
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; |