[tor-commits] [tor/master] C style fix: a no-args function is void fn(void), not void fn().

nickm at torproject.org nickm at torproject.org
Fri Mar 4 05:24:32 UTC 2011


commit f608872b0c62263c761157076129d8f4b07c20a9
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Mar 3 23:42:14 2011 -0500

    C style fix: a no-args function is void fn(void), not void fn().
---
 src/common/tortls.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index f4d4ec8..aaf2fda 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -160,7 +160,7 @@ static int tor_tls_object_ex_data_index = -1;
 
 /** Helper: Allocate tor_tls_object_ex_data_index. */
 static void
-tor_tls_allocate_tor_tls_object_ex_data_index()
+tor_tls_allocate_tor_tls_object_ex_data_index(void)
 {
   if (tor_tls_object_ex_data_index == -1) {
     tor_tls_object_ex_data_index =



More information about the tor-commits mailing list