Pārlūkot izejas kodu

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

svn:r4470
Nick Mathewson 20 gadi atpakaļ
vecāks
revīzija
a37db0da26
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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.
  */
 static void
-tor_tls_init() {
+tor_tls_init(void)
+{
   if (!tls_library_is_initialized) {
     SSL_library_init();
     SSL_load_error_strings();