aboutsummaryrefslogtreecommitdiff
path: root/src/lib/conf
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 12:39:31 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:32:13 -0400
commit3e41459dff9e62cabe2636eac61d19b32dd0a4e1 (patch)
treeebc677db197f166cf15308bc917c84735ed6670a /src/lib/conf
parent54c5366aa15d667484a93abf16d166db7981a0ea (diff)
downloadtor-3e41459dff9e62cabe2636eac61d19b32dd0a4e1.tar.gz
tor-3e41459dff9e62cabe2636eac61d19b32dd0a4e1.zip
confmacros.h: fix coccinelle parsing.
Diffstat (limited to 'src/lib/conf')
-rw-r--r--src/lib/conf/confmacros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/conf/confmacros.h b/src/lib/conf/confmacros.h
index 68121891f1..6449458a10 100644
--- a/src/lib/conf/confmacros.h
+++ b/src/lib/conf/confmacros.h
@@ -15,11 +15,13 @@
#include "orconfig.h"
#include "lib/conf/conftesting.h"
+#ifndef COCCI
/**
* Used to indicate the end of an array of configuration variables.
**/
#define END_OF_CONFIG_VARS \
{ .member = { .name = NULL } DUMMY_CONF_TEST_MEMBERS }
+#endif
/**
* Declare a config_var_t as a member named <b>membername</b> of the structure