diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-09 09:56:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 09:56:41 -0500 |
commit | 1ffba2f1217e5025dd2e6fe783517a22e225c63b (patch) | |
tree | 17bb48e79372254d2c30ae059de3dc611742a55c /src/test/test_dir.c | |
parent | e45810113b150533611c7d9cb5f0f264e00a7394 (diff) | |
download | tor-1ffba2f1217e5025dd2e6fe783517a22e225c63b.tar.gz tor-1ffba2f1217e5025dd2e6fe783517a22e225c63b.zip |
Always define NS_MODULE and NS_SUBMODULE when NS is used.
When these macros aren't defined, the expansions of the NS macros
can get particularly ugly.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 3a7ba4292e..7065012cf1 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -95,6 +95,7 @@ #endif #define NS_MODULE dir +#define NS_SUBMODULE tests static networkstatus_t * networkstatus_parse_vote_from_string_(const char *s, |