From 4438ef3288256e1f1ba706c157206a2ac190781d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 20 Feb 2018 10:14:15 -0500 Subject: Remove a bunch of other redundant #includes Folks have found two in the past week or so; we may as well fix the others. Found with: \#!/usr/bin/python3 import re def findMulti(fname): includes = set() with open(fname) as f: for line in f: m = re.match(r'^\s*#\s*include\s+["<](\S+)[>"]', line) if m: inc = m.group(1) if inc in includes: print("{}: {}".format(fname, inc)) includes.add(m.group(1)) import sys for fname in sys.argv[1:]: findMulti(fname) --- src/or/hs_common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/or/hs_common.c') diff --git a/src/or/hs_common.c b/src/or/hs_common.c index 6d97c8775c..aa34b0e8fb 100644 --- a/src/or/hs_common.c +++ b/src/or/hs_common.c @@ -28,7 +28,6 @@ #include "rendservice.h" #include "routerset.h" #include "router.h" -#include "routerset.h" #include "shared_random.h" #include "shared_random_state.h" -- cgit v1.2.3-54-g00ecf