diff options
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index e4c8f2e9c..2c97d7190 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -11,7 +11,8 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); -static int ngx_cmp_server_names(const void *one, const void *two); +static int ngx_libc_cdecl ngx_cmp_server_names(const void *one, + const void *two); static ngx_int_t ngx_http_add_address(ngx_conf_t *cf, ngx_http_in_port_t *in_port, ngx_http_listen_t *lscf, ngx_http_core_srv_conf_t *cscf); @@ -687,7 +688,7 @@ ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) } -static int +static int ngx_libc_cdecl ngx_cmp_server_names(const void *one, const void *two) { ngx_http_server_name_t *first = (ngx_http_server_name_t *) one; |