summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-21 01:07:32 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-21 01:07:32 +0000
commita37db0da2601f7a70b8450e3adf081b76dedbf70 (patch)
tree06c88012b77ef234f2852ab03a2eca06d64cf1df
parent419d647353a29ea45f33bf51309f0c79bd32cd46 (diff)
downloadtor-a37db0da2601f7a70b8450e3adf081b76dedbf70.tar.gz
tor-a37db0da2601f7a70b8450e3adf081b76dedbf70.zip
Appease the hungry God of GCC: it hates K&R style unspecified args!
svn:r4470
-rw-r--r--src/common/tortls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 09f95f925f..8717c0e941 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();