From a37db0da2601f7a70b8450e3adf081b76dedbf70 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 21 Jun 2005 01:07:32 +0000 Subject: Appease the hungry God of GCC: it hates K&R style unspecified args! svn:r4470 --- src/common/tortls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/tortls.c') diff --git a/src/common/tortls.c b/src/common/tortls.c index 09f95f925..8717c0e94 100644 --- a/src/common/tortls.c +++ b/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(); -- cgit v1.2.3