diff options
author | Piotr Sikora <piotrsikora@google.com> | 2016-03-18 16:38:08 -0700 |
---|---|---|
committer | Piotr Sikora <piotrsikora@google.com> | 2016-03-18 16:38:08 -0700 |
commit | 26f669f109c67cba2b1d5a9df439787d79e82135 (patch) | |
tree | 6ab45e75b2f4e7687d8b598b18285e63d5a7445f /src/core/nginx.c | |
parent | b18ba1e9f66cae6cc78b2e393e8ba9eb7223dc53 (diff) | |
download | nginx-26f669f109c67cba2b1d5a9df439787d79e82135.tar.gz nginx-26f669f109c67cba2b1d5a9df439787d79e82135.zip |
Fix build with -Wmissing-prototypes.
Broken in 5eb4d7541107 (1.9.6), fix somehow missed in 3600bbfb43e3.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index cdc067ea7..28231697c 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -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); @@ -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); |