From 3e41459dff9e62cabe2636eac61d19b32dd0a4e1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 9 Oct 2019 12:39:31 -0400 Subject: confmacros.h: fix coccinelle parsing. --- src/lib/conf/confmacros.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/conf/confmacros.h') 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 membername of the structure -- cgit v1.2.3-54-g00ecf