tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 25354171b598653d5d6cb9cd80ea78d891144156
parent 8d4b4aa932658f8123de1810f9c17f31594e8c1b
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 16 Dec 2019 13:10:20 -0500

lib/conf: include torint.h in files that use it.

This frees us from some dependencies on include order.

Diffstat:
Msrc/lib/conf/confdecl.h | 1+
Msrc/lib/conf/conftesting.h | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lib/conf/confdecl.h b/src/lib/conf/confdecl.h @@ -51,6 +51,7 @@ #undef CONF_CONTEXT #include "lib/cc/tokpaste.h" +#include "lib/cc/torint.h" /** * Begin the definition of a configuration object called `name`. diff --git a/src/lib/conf/conftesting.h b/src/lib/conf/conftesting.h @@ -12,6 +12,8 @@ #ifndef TOR_LIB_CONF_CONFTESTING_H #define TOR_LIB_CONF_CONFTESTING_H +#include "lib/cc/torint.h" + #ifndef COCCI #ifdef TOR_UNIT_TESTS #define USE_CONF_TESTING