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 d6443d6a7..9cef9f33a 100644
--- a/src/core/ngx_array.h
+++ b/src/core/ngx_array.h
@@ -6,13 +6,13 @@
#include <ngx_core.h>
-typedef struct {
+struct ngx_array_s {
void *elts;
int nelts;
size_t size;
int nalloc;
ngx_pool_t *pool;
-} ngx_array_t;
+};
ngx_array_t *ngx_create_array(ngx_pool_t *p, int n, size_t size);