Mercurial > hg > nginx
comparison src/core/nginx.c @ 6446:0ff7eff48c7e
Fix build with -Wmissing-prototypes.
Broken in 5eb4d7541107 (1.9.6), fix somehow missed in 3600bbfb43e3.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author | Piotr Sikora <piotrsikora@google.com> |
---|---|
date | Fri, 18 Mar 2016 16:38:08 -0700 |
parents | 7296b38f6416 |
children | f01ab2dbcfdc |
comparison
equal
deleted
inserted
replaced
6445:c9d680b00744 | 6446:0ff7eff48c7e |
---|---|
8 #include <ngx_config.h> | 8 #include <ngx_config.h> |
9 #include <ngx_core.h> | 9 #include <ngx_core.h> |
10 #include <nginx.h> | 10 #include <nginx.h> |
11 | 11 |
12 | 12 |
13 static void ngx_show_version_info(); | 13 static void ngx_show_version_info(void); |
14 static ngx_int_t ngx_add_inherited_sockets(ngx_cycle_t *cycle); | 14 static ngx_int_t ngx_add_inherited_sockets(ngx_cycle_t *cycle); |
15 static ngx_int_t ngx_get_options(int argc, char *const *argv); | 15 static ngx_int_t ngx_get_options(int argc, char *const *argv); |
16 static ngx_int_t ngx_process_options(ngx_cycle_t *cycle); | 16 static ngx_int_t ngx_process_options(ngx_cycle_t *cycle); |
17 static ngx_int_t ngx_save_argv(ngx_cycle_t *cycle, int argc, char *const *argv); | 17 static ngx_int_t ngx_save_argv(ngx_cycle_t *cycle, int argc, char *const *argv); |
18 static void *ngx_core_module_create_conf(ngx_cycle_t *cycle); | 18 static void *ngx_core_module_create_conf(ngx_cycle_t *cycle); |
370 return 0; | 370 return 0; |
371 } | 371 } |
372 | 372 |
373 | 373 |
374 static void | 374 static void |
375 ngx_show_version_info() | 375 ngx_show_version_info(void) |
376 { | 376 { |
377 ngx_write_stderr("nginx version: " NGINX_VER_BUILD NGX_LINEFEED); | 377 ngx_write_stderr("nginx version: " NGINX_VER_BUILD NGX_LINEFEED); |
378 | 378 |
379 if (ngx_show_help) { | 379 if (ngx_show_help) { |
380 ngx_write_stderr( | 380 ngx_write_stderr( |