[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Fix some verbose warnings and remove an unneeded include.



Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv29111/src/common

Modified Files:
	log.c 
Log Message:
Fix some verbose warnings and remove an unneeded include.

Index: log.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/log.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- log.c	30 Nov 2005 06:27:58 -0000	1.107
+++ log.c	30 Nov 2005 06:38:41 -0000	1.108
@@ -67,7 +67,9 @@
 
 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 @@
   }
 }
 
+#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 @@
   }
   return 0;
 }
+#endif
 
 /** Add a log handler to send all messages of severity <b>loglevel</b>
  * or higher to <b>stream</b>. */