aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_array.h')
-rw-r--r--src/core/ngx_array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_array.h b/src/core/ngx_array.h
index 6a60e3088..a0f2a7440 100644
--- a/src/core/ngx_array.h
+++ b/src/core/ngx_array.h
@@ -13,13 +13,13 @@
#include <ngx_core.h>
-struct ngx_array_s {
+typedef struct {
void *elts;
ngx_uint_t nelts;
size_t size;
ngx_uint_t nalloc;
ngx_pool_t *pool;
-};
+} ngx_array_t;
ngx_array_t *ngx_array_create(ngx_pool_t *p, ngx_uint_t n, size_t size);