Fixed compilation with -Wmissing-prototypes.
diff --git a/src/core/ngx_module.c b/src/core/ngx_module.c index 2d81b38..3e3c506 100644 --- a/src/core/ngx_module.c +++ b/src/core/ngx_module.c
@@ -23,7 +23,7 @@ ngx_int_t -ngx_preinit_modules() +ngx_preinit_modules(void) { ngx_uint_t i;
diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h index 3e74def..e911cb4 100644 --- a/src/core/ngx_module.h +++ b/src/core/ngx_module.h
@@ -288,7 +288,7 @@ } ngx_core_module_t; -ngx_int_t ngx_preinit_modules(); +ngx_int_t ngx_preinit_modules(void); ngx_int_t ngx_cycle_modules(ngx_cycle_t *cycle); ngx_int_t ngx_init_modules(ngx_cycle_t *cycle); ngx_int_t ngx_count_modules(ngx_cycle_t *cycle, ngx_uint_t type);