aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_rfork_thread.c
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/os/unix/ngx_freebsd_rfork_thread.c
parentc4a044cc50e35b114095bfe744ba3fa0e6bfc5bd (diff)
downloadnginx-3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd.tar.gz
nginx-3be6cc9b2f85724c37d5cf5e9f71bbded656b9cd.zip
Use "void" for functions with empty parameter list.
Diffstat (limited to 'src/os/unix/ngx_freebsd_rfork_thread.c')
-rw-r--r--src/os/unix/ngx_freebsd_rfork_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.c b/src/os/unix/ngx_freebsd_rfork_thread.c
index 530ec4a53..e92f9a9fd 100644
--- a/src/os/unix/ngx_freebsd_rfork_thread.c
+++ b/src/os/unix/ngx_freebsd_rfork_thread.c
@@ -271,7 +271,7 @@ ngx_init_threads(int n, size_t size, ngx_cycle_t *cycle)
ngx_tid_t
-ngx_thread_self()
+ngx_thread_self(void)
{
ngx_int_t tid;