mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Use "void" for functions with empty parameter list.
This commit is contained in:
parent
c4a044cc50
commit
3be6cc9b2f
@ -2176,7 +2176,7 @@ ngx_http_spdy_handle_request_header(ngx_http_request_t *r)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ngx_http_spdy_request_headers_init()
|
ngx_http_spdy_request_headers_init(void)
|
||||||
{
|
{
|
||||||
ngx_uint_t i;
|
ngx_uint_t i;
|
||||||
ngx_http_spdy_request_header_t *h;
|
ngx_http_spdy_request_header_t *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_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_int_t ngx_http_spdy_read_request_body(ngx_http_request_t *r,
|
||||||
ngx_http_client_body_handler_pt post_handler);
|
ngx_http_client_body_handler_pt post_handler);
|
||||||
|
@ -59,7 +59,7 @@ sysctl_t sysctls[] = {
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ngx_debug_init()
|
ngx_debug_init(void)
|
||||||
{
|
{
|
||||||
#if (NGX_DEBUG_MALLOC)
|
#if (NGX_DEBUG_MALLOC)
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ sysctl_t sysctls[] = {
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ngx_debug_init()
|
ngx_debug_init(void)
|
||||||
{
|
{
|
||||||
#if (NGX_DEBUG_MALLOC)
|
#if (NGX_DEBUG_MALLOC)
|
||||||
|
|
||||||
|
@ -271,7 +271,7 @@ ngx_init_threads(int n, size_t size, ngx_cycle_t *cycle)
|
|||||||
|
|
||||||
|
|
||||||
ngx_tid_t
|
ngx_tid_t
|
||||||
ngx_thread_self()
|
ngx_thread_self(void)
|
||||||
{
|
{
|
||||||
ngx_int_t tid;
|
ngx_int_t tid;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ extern size_t ngx_thread_stack_size;
|
|||||||
|
|
||||||
|
|
||||||
static ngx_inline ngx_int_t
|
static ngx_inline ngx_int_t
|
||||||
ngx_gettid()
|
ngx_gettid(void)
|
||||||
{
|
{
|
||||||
char *sp;
|
char *sp;
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ ngx_gettid()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ngx_tid_t ngx_thread_self();
|
ngx_tid_t ngx_thread_self(void);
|
||||||
|
|
||||||
|
|
||||||
typedef ngx_uint_t ngx_tls_key_t;
|
typedef ngx_uint_t ngx_tls_key_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user