mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
confmacros.h: fix coccinelle parsing.
This commit is contained in:
parent
54c5366aa1
commit
3e41459dff
2 changed files with 5 additions and 0 deletions
|
@ -57,4 +57,7 @@
|
|||
#define NS_DECL(a, b, c) a b c
|
||||
#define NS(a) a
|
||||
|
||||
#define CONF_TEST_MEMBERS(a,b,c)
|
||||
#define DUMMY_CONF_TEST_MEMBERS
|
||||
|
||||
#define EAT_SEMICOLON extern int dummy__;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue