aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_list.h')
-rw-r--r--src/core/ngx_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_list.h b/src/core/ngx_list.h
index 757564f02..f43f235e5 100644
--- a/src/core/ngx_list.h
+++ b/src/core/ngx_list.h
@@ -24,7 +24,7 @@ typedef struct {
} ngx_list_t;
-ngx_inline static ngx_int_t ngx_init_list(ngx_list_t *list, ngx_pool_t *pool,
+ngx_inline static ngx_int_t ngx_list_init(ngx_list_t *list, ngx_pool_t *pool,
ngx_uint_t n, size_t size)
{
if (!(list->part.elts = ngx_palloc(pool, n * size))) {
@@ -67,7 +67,7 @@ ngx_inline static ngx_int_t ngx_init_list(ngx_list_t *list, ngx_pool_t *pool,
*/
-void *ngx_push_list(ngx_list_t *list);
+void *ngx_list_push(ngx_list_t *list);
#endif /* _NGX_LIST_H_INCLUDED_ */