diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-22 02:13:01 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-22 02:13:01 +0000 |
commit | 87ba08d1d01f607dab1b5b012716bb799bd8c695 (patch) | |
tree | 3029e0dd47346afc30b4c6cc9534902ad74277a7 /Zend/zend_llist.h | |
parent | 58a0ae7b35138f2eedd122f12438555532ae2c28 (diff) | |
download | php-git-87ba08d1d01f607dab1b5b012716bb799bd8c695.tar.gz |
Avoid leaking fd's in case of failures
Diffstat (limited to 'Zend/zend_llist.h')
-rw-r--r-- | Zend/zend_llist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_llist.h b/Zend/zend_llist.h index 6d2e3e83ba..dd5bedb6bf 100644 --- a/Zend/zend_llist.h +++ b/Zend/zend_llist.h @@ -34,6 +34,7 @@ typedef struct { zend_llist_element *traverse_ptr; } zend_llist; +BEGIN_EXTERN_C() ZEND_API void zend_llist_init(zend_llist *l, size_t size, void (*dtor)(void *data), unsigned char persistent); ZEND_API void zend_llist_add_element(zend_llist *l, void *element); ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element); @@ -51,5 +52,6 @@ ZEND_API void *zend_llist_get_first(zend_llist *l); ZEND_API void *zend_llist_get_last(zend_llist *l); ZEND_API void *zend_llist_get_next(zend_llist *l); ZEND_API void *zend_llist_get_prev(zend_llist *l); +END_EXTERN_C() #endif /* _ZEND_LLIST_H */ |