comparison src/http/modules/ngx_http_upstream_least_conn_module.c @ 4759:4c36e15651f7

Fixed compilation with -Wmissing-prototypes.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 24 Jul 2012 15:09:54 +0000
parents 90ddd4abfdd2
children a384c60d55f3
comparison
equal deleted inserted replaced
4758:1f908d2dde8d 4759:4c36e15651f7
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;