]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clear up a couple of pedantic compiler warnings
authorNick Mathewson <nickm@torproject.org>
Tue, 22 Mar 2005 18:56:11 +0000 (18:56 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Mar 2005 18:56:11 +0000 (18:56 +0000)
svn:r3812

src/or/main.c

index 812d8b64a2e5e5caaa933e59d2246371ce426c1c..dfa8ae6d00aaac2cb32f89bc4b046d76e7bb9c76 100644 (file)
@@ -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)