diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-21 01:07:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-21 01:07:32 +0000 |
commit | a37db0da2601f7a70b8450e3adf081b76dedbf70 (patch) | |
tree | 06c88012b77ef234f2852ab03a2eca06d64cf1df /src/common/tortls.c | |
parent | 419d647353a29ea45f33bf51309f0c79bd32cd46 (diff) | |
download | tor-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.c | 3 |
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(); |