aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
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 /src/common/tortls.c
parent419d647353a29ea45f33bf51309f0c79bd32cd46 (diff)
downloadtor-a37db0da2601f7a70b8450e3adf081b76dedbf70.tar
tor-a37db0da2601f7a70b8450e3adf081b76dedbf70.tar.gz
Appease the hungry God of GCC: it hates K&R style unspecified args!
svn:r4470
Diffstat (limited to 'src/common/tortls.c')
-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 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();