changeset 6429:3600bbfb43e3

Fixed compilation with -Wmissing-prototypes.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 14 Mar 2016 19:23:23 +0300
parents 545b5e4d83b2
children 33aef5cd3d43
files src/core/ngx_module.c src/core/ngx_module.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 
 
 ngx_int_t
-ngx_preinit_modules()
+ngx_preinit_modules(void)
 {
     ngx_uint_t  i;
 
--- 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 @@
 } 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);