Fixed compilation with -Wmissing-prototypes.

This commit is contained in:
Sergey Kandaurov 2016-03-14 19:23:23 +03:00
parent 573ec98d24
commit db72c6be20
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ static ngx_uint_t ngx_modules_n;
ngx_int_t
ngx_preinit_modules()
ngx_preinit_modules(void)
{
ngx_uint_t i;

View File

@ -288,7 +288,7 @@ typedef struct {
} 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);