summaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-29 22:59:17 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-29 22:59:17 +0000
commit5c53545d8158cd486d3ccef096f895afd485dd62 (patch)
treea1d83ddbcafe741af52750b9941af42e1ac01108 /src/common/log.c
parentc6347cdb0ebb9ad0e374f345fbe085265caf0b15 (diff)
downloadtor-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.c4
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) {