aboutsummaryrefslogtreecommitdiff
path: root/src/lib/err
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 14:02:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-21 14:05:33 -0400
commit999f7984e189250216fcd0bbbe1c4c8d1b0c380b (patch)
treecb4fe061d96917b9c42680955a207a9ac5b4acbe /src/lib/err
parent8918bd90e9ddc135c0519177a07cd7a8c18859ed (diff)
downloadtor-999f7984e189250216fcd0bbbe1c4c8d1b0c380b.tar.gz
tor-999f7984e189250216fcd0bbbe1c4c8d1b0c380b.zip
New script to check includes for modularity violations
Includes configuration files to enforce these rules on lib and common. Of course, "common" *is* a modularity violation right now, so these rules aren't as strict as I would like them to be.
Diffstat (limited to 'src/lib/err')
-rw-r--r--src/lib/err/.may_include3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/err/.may_include b/src/lib/err/.may_include
new file mode 100644
index 0000000000..48cc0ef088
--- /dev/null
+++ b/src/lib/err/.may_include
@@ -0,0 +1,3 @@
+orconfig.h
+lib/cc/*.h
+lib/err/*.h