diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-29 22:59:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-29 22:59:17 +0000 |
commit | 5c53545d8158cd486d3ccef096f895afd485dd62 (patch) | |
tree | a1d83ddbcafe741af52750b9941af42e1ac01108 /src/common/log.c | |
parent | c6347cdb0ebb9ad0e374f345fbe085265caf0b15 (diff) | |
download | tor-5c53545d8158cd486d3ccef096f895afd485dd62.tar.gz tor-5c53545d8158cd486d3ccef096f895afd485dd62.zip |
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
svn:r5150
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/log.c b/src/common/log.c index e676612b6f..19c67fe2c3 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -258,7 +258,7 @@ void _log_fn(int severity, const char *format, ...) #endif /** Close all open log files. */ -void close_logs() +void close_logs(void) { logfile_t *victim; while (logfiles) { @@ -271,7 +271,7 @@ void close_logs() } /** Close and re-open all log files; used to rotate logs on SIGHUP. */ -void reset_logs() +void reset_logs(void) { logfile_t *lf = logfiles; while (lf) { |