Browse Source

Appease the hungry God of GCC: it hates K&R style unspecified args!

svn:r4470
Nick Mathewson 20 years ago
parent
commit
a37db0da26
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/common/tortls.c

+ 2 - 1
src/common/tortls.c

@@ -148,7 +148,8 @@ tor_tls_get_error(tor_tls *tls, int r, int extra,
 /** Initialize OpenSSL, unless it has already been initialized.
 /** Initialize OpenSSL, unless it has already been initialized.
  */
  */
 static void
 static void
-tor_tls_init() {
+tor_tls_init(void)
+{
   if (!tls_library_is_initialized) {
   if (!tls_library_is_initialized) {
     SSL_library_init();
     SSL_library_init();
     SSL_load_error_strings();
     SSL_load_error_strings();