comparison src/http/modules/ngx_http_upstream_least_conn_module.c @ 4798:29928279ec9f stable-1.2

Merge of r4760, r4761: -Wmissing-prototypes. Fixed compilation with -Wmissing-prototypes. Added a commented out -Wmissing-prototypes to CFLAGS. It is commented out to not break builds with 3rd party modules.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 Aug 2012 17:07:28 +0000
parents 0141b4aec0e4
children ac3690ee6c28
comparison
equal deleted inserted replaced
4797:d1cea70248c7 4798:29928279ec9f
79 NULL, /* exit master */ 79 NULL, /* exit master */
80 NGX_MODULE_V1_PADDING 80 NGX_MODULE_V1_PADDING
81 }; 81 };
82 82
83 83
84 ngx_int_t 84 static ngx_int_t
85 ngx_http_upstream_init_least_conn(ngx_conf_t *cf, 85 ngx_http_upstream_init_least_conn(ngx_conf_t *cf,
86 ngx_http_upstream_srv_conf_t *us) 86 ngx_http_upstream_srv_conf_t *us)
87 { 87 {
88 ngx_uint_t n; 88 ngx_uint_t n;
89 ngx_http_upstream_rr_peers_t *peers; 89 ngx_http_upstream_rr_peers_t *peers;