summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2013-05-23 15:47:58 +0400
committerSergey Kandaurov <pluknet@nginx.com>2013-05-23 15:47:58 +0400
commit3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd (patch)
tree166325240efef316493098ce447851bf485b32cd /src/http
parentc4a044cc50e35b114095bfe744ba3fa0e6bfc5bd (diff)
downloadnginx-3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd.tar.gz
nginx-3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd.tar.bz2
Use "void" for functions with empty parameter list.
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ngx_http_spdy.c2
-rw-r--r--src/http/ngx_http_spdy.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c
index 3febc23e9..acadaf232 100644
--- a/src/http/ngx_http_spdy.c
+++ b/src/http/ngx_http_spdy.c
@@ -2176,7 +2176,7 @@ ngx_http_spdy_handle_request_header(ngx_http_request_t *r)
void
-ngx_http_spdy_request_headers_init()
+ngx_http_spdy_request_headers_init(void)
{
ngx_uint_t i;
ngx_http_spdy_request_header_t *h;
diff --git a/src/http/ngx_http_spdy.h b/src/http/ngx_http_spdy.h
index 4294e3d50..63014066d 100644
--- a/src/http/ngx_http_spdy.h
+++ b/src/http/ngx_http_spdy.h
@@ -186,7 +186,7 @@ ngx_http_spdy_queue_blocked_frame(ngx_http_spdy_connection_t *sc,
void ngx_http_spdy_init(ngx_event_t *rev);
-void ngx_http_spdy_request_headers_init();
+void ngx_http_spdy_request_headers_init(void);
ngx_int_t ngx_http_spdy_read_request_body(ngx_http_request_t *r,
ngx_http_client_body_handler_pt post_handler);