diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-14 19:23:23 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-03-14 19:23:23 +0300 |
commit | db72c6be20138f9f87f53d935b3a45baca334902 (patch) | |
tree | 8d904fe08cc8e4b076070f33a1fbfec68076972b /src | |
parent | 573ec98d2425bf5edc22d8e5e7edd17c6391d9b1 (diff) | |
download | nginx-db72c6be20138f9f87f53d935b3a45baca334902.tar.gz nginx-db72c6be20138f9f87f53d935b3a45baca334902.zip |
Fixed compilation with -Wmissing-prototypes.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_module.c | 2 | ||||
-rw-r--r-- | src/core/ngx_module.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_module.c b/src/core/ngx_module.c index 2d81b3893..3e3c50683 100644 --- a/src/core/ngx_module.c +++ b/src/core/ngx_module.c @@ -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; diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h index 3e74def29..e911cb49c 100644 --- a/src/core/ngx_module.h +++ b/src/core/ngx_module.h @@ -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); |