Browse Source

Clear up a couple of pedantic compiler warnings

svn:r3812
Nick Mathewson 20 years ago
parent
commit
2d662bf773
1 changed files with 2 additions and 2 deletions
  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)