diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2013-05-23 15:47:58 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2013-05-23 15:47:58 +0400 |
commit | 3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd (patch) | |
tree | 166325240efef316493098ce447851bf485b32cd /src/os/unix/ngx_freebsd_rfork_thread.h | |
parent | c4a044cc50e35b114095bfe744ba3fa0e6bfc5bd (diff) | |
download | nginx-3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd.tar.gz nginx-3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd.zip |
Use "void" for functions with empty parameter list.
Diffstat (limited to 'src/os/unix/ngx_freebsd_rfork_thread.h')
-rw-r--r-- | src/os/unix/ngx_freebsd_rfork_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.h b/src/os/unix/ngx_freebsd_rfork_thread.h index 2c238f79c..ff160449d 100644 --- a/src/os/unix/ngx_freebsd_rfork_thread.h +++ b/src/os/unix/ngx_freebsd_rfork_thread.h @@ -57,7 +57,7 @@ extern size_t ngx_thread_stack_size; static ngx_inline ngx_int_t -ngx_gettid() +ngx_gettid(void) { 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; |