aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_alloc.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-11-20 08:51:45 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-11-20 08:51:45 +0000
commit67cd336d88f8a920ea5921936785a1c1553062fb (patch)
treef76934379e98e22854638a4ddc44b022deefd265 /src/os/unix/ngx_alloc.h
parentcae66582d5e6137d3b53552fcb84520a042841ca (diff)
downloadnginx-67cd336d88f8a920ea5921936785a1c1553062fb.tar.gz
nginx-67cd336d88f8a920ea5921936785a1c1553062fb.zip
slab allocator in shared memory
Diffstat (limited to 'src/os/unix/ngx_alloc.h')
-rw-r--r--src/os/unix/ngx_alloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/unix/ngx_alloc.h b/src/os/unix/ngx_alloc.h
index a88818e2e..8b7b766b2 100644
--- a/src/os/unix/ngx_alloc.h
+++ b/src/os/unix/ngx_alloc.h
@@ -36,7 +36,8 @@ void *ngx_memalign(size_t alignment, size_t size, ngx_log_t *log);
#endif
-extern int ngx_pagesize;
+extern ngx_uint_t ngx_pagesize;
+extern ngx_uint_t ngx_pagesize_shift;
extern ngx_uint_t ngx_cacheline_size;