[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit f608872b0c62263c761157076129d8f4b07c20a9
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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 =

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits