details:   http://hg.nginx.org/nginx/rev/3600bbfb43e3
branches:  
changeset: 6429:3600bbfb43e3
user:      Sergey Kandaurov <[email protected]>
date:      Mon Mar 14 19:23:23 2016 +0300
description:
Fixed compilation with -Wmissing-prototypes.

diffstat:

 src/core/ngx_module.c |  2 +-
 src/core/ngx_module.h |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 545b5e4d83b2 -r 3600bbfb43e3 src/core/ngx_module.c
--- a/src/core/ngx_module.c     Tue Mar 08 22:31:55 2016 -0500
+++ b/src/core/ngx_module.c     Mon Mar 14 19:23:23 2016 +0300
@@ -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 -r 545b5e4d83b2 -r 3600bbfb43e3 src/core/ngx_module.h
--- a/src/core/ngx_module.h     Tue Mar 08 22:31:55 2016 -0500
+++ b/src/core/ngx_module.h     Mon Mar 14 19:23:23 2016 +0300
@@ -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);

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to