Use "void" for functions with empty parameter list.
diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c index 3febc23..acadaf2 100644 --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c
@@ -2176,7 +2176,7 @@ 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 4294e3d..6301406 100644 --- a/src/http/ngx_http_spdy.h +++ b/src/http/ngx_http_spdy.h
@@ -186,7 +186,7 @@ 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);
diff --git a/src/os/unix/ngx_darwin_init.c b/src/os/unix/ngx_darwin_init.c index e3cc5fe..1bc7520 100644 --- a/src/os/unix/ngx_darwin_init.c +++ b/src/os/unix/ngx_darwin_init.c
@@ -59,7 +59,7 @@ void -ngx_debug_init() +ngx_debug_init(void) { #if (NGX_DEBUG_MALLOC)
diff --git a/src/os/unix/ngx_freebsd_init.c b/src/os/unix/ngx_freebsd_init.c index aeeceaf..c4c12dd 100644 --- a/src/os/unix/ngx_freebsd_init.c +++ b/src/os/unix/ngx_freebsd_init.c
@@ -72,7 +72,7 @@ void -ngx_debug_init() +ngx_debug_init(void) { #if (NGX_DEBUG_MALLOC)
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.c b/src/os/unix/ngx_freebsd_rfork_thread.c index 530ec4a..e92f9a9 100644 --- a/src/os/unix/ngx_freebsd_rfork_thread.c +++ b/src/os/unix/ngx_freebsd_rfork_thread.c
@@ -271,7 +271,7 @@ ngx_tid_t -ngx_thread_self() +ngx_thread_self(void) { ngx_int_t tid;
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.h b/src/os/unix/ngx_freebsd_rfork_thread.h index 2c238f7..ff16044 100644 --- a/src/os/unix/ngx_freebsd_rfork_thread.h +++ b/src/os/unix/ngx_freebsd_rfork_thread.h
@@ -57,7 +57,7 @@ static ngx_inline ngx_int_t -ngx_gettid() +ngx_gettid(void) { char *sp; @@ -83,7 +83,7 @@ } -ngx_tid_t ngx_thread_self(); +ngx_tid_t ngx_thread_self(void); typedef ngx_uint_t ngx_tls_key_t;