aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_alloc.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-03 15:42:58 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-03 15:42:58 +0000
commit1c10462e88491d52a23e22fbc3ca0012591df095 (patch)
tree5a71cf54dda493188473693e5b66a08fc8cdf161 /src/core/ngx_alloc.h
parent7578ec9df43bbb31db5291f1b76359d10900a679 (diff)
downloadnginx-1c10462e88491d52a23e22fbc3ca0012591df095.tar.gz
nginx-1c10462e88491d52a23e22fbc3ca0012591df095.zip
nginx-0.0.1-2003-06-03-19:42:58 import
Diffstat (limited to 'src/core/ngx_alloc.h')
-rw-r--r--src/core/ngx_alloc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/ngx_alloc.h b/src/core/ngx_alloc.h
index 1d2f2f7ea..b63f4bdc1 100644
--- a/src/core/ngx_alloc.h
+++ b/src/core/ngx_alloc.h
@@ -3,8 +3,8 @@
#include <ngx_config.h>
+#include <ngx_core.h>
-#include <ngx_log.h>
/* NGX_MAX_ALLOC_FROM_POOL should be (PAGE_SIZE - 1), i.e. 4095 on x86.
On FreeBSD 5.x it allows to use zero copy send.
@@ -18,12 +18,15 @@
typedef struct ngx_pool_large_s ngx_pool_large_t;
+
struct ngx_pool_large_s {
ngx_pool_large_t *next;
void *alloc;
};
-typedef struct ngx_pool_s ngx_pool_t;
+
+typedef struct ngx_pool_s ngx_pool_t;
+
struct ngx_pool_s {
char *last;
char *end;