浏览代码

Clear up a couple of pedantic compiler warnings

svn:r3812
Nick Mathewson 20 年之前
父节点
当前提交
2d662bf773
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)