[or-cvs] it really does help with the functions end.

arma at seul.org arma at seul.org
Thu Sep 8 07:00:00 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
it really does help with the functions end.


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.407
retrieving revision 1.408
diff -u -d -r1.407 -r1.408
--- config.c	8 Sep 2005 06:55:53 -0000	1.407
+++ config.c	8 Sep 2005 06:59:58 -0000	1.408
@@ -257,6 +257,8 @@
 
 static void config_line_append(config_line_t **lst,
                                const char *key, const char *val);
+static void option_clear(config_format_t *fmt, or_options_t *options,
+                         config_var_t *var);
 static void option_reset(config_format_t *fmt, or_options_t *options,
                          config_var_t *var);
 static void config_free(config_format_t *fmt, void *options);
@@ -1089,7 +1091,6 @@
 static void
 option_clear(config_format_t *fmt, or_options_t *options, config_var_t *var)
 {
-  config_line_t *c;
   void *lvalue = ((char*)options) + var->var_offset;
   switch (var->type) {
     case CONFIG_TYPE_STRING:
@@ -1126,6 +1127,7 @@
     case CONFIG_TYPE_OBSOLETE:
       break;
   }
+}
 
 /** Replace the option indexed by <b>var</b> in <b>options</b> with its
  * default value. */



More information about the tor-commits mailing list