Mercurial > hg > nginx
comparison src/core/ngx_module.c @ 6429:3600bbfb43e3
Fixed compilation with -Wmissing-prototypes.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 14 Mar 2016 19:23:23 +0300 |
parents | ce946e0976dc |
children |
comparison
equal
deleted
inserted
replaced
6428:545b5e4d83b2 | 6429:3600bbfb43e3 |
---|---|
21 ngx_uint_t ngx_max_module; | 21 ngx_uint_t ngx_max_module; |
22 static ngx_uint_t ngx_modules_n; | 22 static ngx_uint_t ngx_modules_n; |
23 | 23 |
24 | 24 |
25 ngx_int_t | 25 ngx_int_t |
26 ngx_preinit_modules() | 26 ngx_preinit_modules(void) |
27 { | 27 { |
28 ngx_uint_t i; | 28 ngx_uint_t i; |
29 | 29 |
30 for (i = 0; ngx_modules[i]; i++) { | 30 for (i = 0; ngx_modules[i]; i++) { |
31 ngx_modules[i]->index = i; | 31 ngx_modules[i]->index = i; |