Skip to content

Commit

Permalink
Fixed compilation with -Wmissing-prototypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluknet committed Mar 14, 2016
1 parent 573ec98 commit db72c6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/ngx_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/core/ngx_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit db72c6b

Please sign in to comment.