summaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-09 09:56:41 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 09:56:41 -0500
commit1ffba2f1217e5025dd2e6fe783517a22e225c63b (patch)
tree17bb48e79372254d2c30ae059de3dc611742a55c /src/test/test_options.c
parente45810113b150533611c7d9cb5f0f264e00a7394 (diff)
downloadtor-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_options.c')
-rw-r--r--src/test/test_options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 4877827aef..a363eca670 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -35,7 +35,8 @@
#include <sys/param.h>
#endif
-#define NS_MODULE test_options
+#define NS_MODULE opt
+#define NS_SUBMODULE tests
typedef struct {
int severity;