Explorar el Código

Clear up a couple of pedantic compiler warnings

svn:r3812
Nick Mathewson hace 20 años
padre
commit
2d662bf773
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/or/main.c

+ 2 - 2
src/or/main.c

@@ -585,7 +585,7 @@ void directory_all_unreachable(time_t now) {
   }
 }
 
-INLINE int
+static INLINE int
 get_dir_fetch_period(or_options_t *options)
 {
   if (options->DirFetchPeriod)
@@ -599,7 +599,7 @@ get_dir_fetch_period(or_options_t *options)
     return 40*60;
 }
 
-INLINE int
+static INLINE int
 get_status_fetch_period(or_options_t *options)
 {
   if (options->StatusFetchPeriod)