diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-11-30 06:38:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-11-30 06:38:41 +0000 |
commit | d56a65c497fe8ca856a8e5842660ec720204e728 (patch) | |
tree | db3b149b770638db4da80fb704d74bddb80b147d /src/common/log.c | |
parent | 9cec3a13f510f09f328f824796676f24a99ccf35 (diff) | |
download | tor-d56a65c497fe8ca856a8e5842660ec720204e728.tar.gz tor-d56a65c497fe8ca856a8e5842660ec720204e728.zip |
Fix some verbose warnings and remove an unneeded include.
svn:r5472
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c index 6f6c403f53..93fd854f4e 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -67,7 +67,9 @@ static int syslog_count = 0; static void delete_log(logfile_t *victim); static void close_log(logfile_t *victim); +#if 0 static int reset_log(logfile_t *lf); +#endif /** Helper: Write the standard prefix for log lines to a * <b>buf_len</b> character buffer in <b>buf</b>. @@ -382,6 +384,7 @@ close_log(logfile_t *victim) } } +#if 0 /** Helper: reset a single logfile_t. For a file log, this involves * closing and reopening the log, and maybe writing the version. For * other log types, do nothing. */ @@ -399,6 +402,7 @@ reset_log(logfile_t *lf) } return 0; } +#endif /** Add a log handler to send all messages of severity <b>loglevel</b> * or higher to <b>stream</b>. */ |