Zend/zend_llist: include cleanup

This commit is contained in:
Max Kellermann 2023-01-04 20:48:55 +01:00 committed by George Peter Banyard
parent 921274d2b8
commit 7e87551c37
2 changed files with 3 additions and 1 deletions

View file

@ -17,8 +17,8 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
*/ */
#include "zend.h"
#include "zend_llist.h" #include "zend_llist.h"
#include "zend_alloc.h" //for pemalloc()
#include "zend_sort.h" #include "zend_sort.h"
ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent) ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent)

View file

@ -20,6 +20,8 @@
#ifndef ZEND_LLIST_H #ifndef ZEND_LLIST_H
#define ZEND_LLIST_H #define ZEND_LLIST_H
#include "zend_portability.h" // for BEGIN_EXTERN_C
typedef struct _zend_llist_element { typedef struct _zend_llist_element {
struct _zend_llist_element *next; struct _zend_llist_element *next;
struct _zend_llist_element *prev; struct _zend_llist_element *prev;