diff src/os/unix/ngx_freebsd_rfork_thread.h @ 5225:15a7deeaa19a

Use "void" for functions with empty parameter list.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 23 May 2013 15:47:58 +0400
parents d620f497c50f
children
line wrap: on
line diff
--- a/src/os/unix/ngx_freebsd_rfork_thread.h	Thu May 23 10:23:21 2013 +0400
+++ b/src/os/unix/ngx_freebsd_rfork_thread.h	Thu May 23 15:47:58 2013 +0400
@@ -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;