Skip to content

Commit

Permalink
Fix build with -Wmissing-prototypes.
Browse files Browse the repository at this point in the history
Broken in 5eb4d7541107 (1.9.6), fix somehow missed in 3600bbfb43e3.

Signed-off-by: Piotr Sikora <[email protected]>
  • Loading branch information
PiotrSikora committed Mar 18, 2016
1 parent b18ba1e commit 26f669f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/nginx.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <nginx.h>


static void ngx_show_version_info();
static void ngx_show_version_info(void);
static ngx_int_t ngx_add_inherited_sockets(ngx_cycle_t *cycle);
static ngx_int_t ngx_get_options(int argc, char *const *argv);
static ngx_int_t ngx_process_options(ngx_cycle_t *cycle);
Expand Down Expand Up @@ -372,7 +372,7 @@ main(int argc, char *const *argv)


static void
ngx_show_version_info()
ngx_show_version_info(void)
{
ngx_write_stderr("nginx version: " NGINX_VER_BUILD NGX_LINEFEED);

Expand Down

0 comments on commit 26f669f

Please sign in to comment.