mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
consdiff disable a macro when running with COCCI
This commit is contained in:
parent
d9bad0203b
commit
ef5d1e6b65
@ -530,10 +530,12 @@ typedef struct router_id_iterator_t {
|
|||||||
cdline_t hash;
|
cdline_t hash;
|
||||||
} router_id_iterator_t;
|
} router_id_iterator_t;
|
||||||
|
|
||||||
|
#ifndef COCCI
|
||||||
/**
|
/**
|
||||||
* Initializer for a router_id_iterator_t.
|
* Initializer for a router_id_iterator_t.
|
||||||
*/
|
*/
|
||||||
#define ROUTER_ID_ITERATOR_INIT { { NULL, 0 }, { NULL, 0 } }
|
#define ROUTER_ID_ITERATOR_INIT { { NULL, 0 }, { NULL, 0 } }
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Given an index *<b>idxp</b> into the consensus at <b>cons</b>, advance
|
/** Given an index *<b>idxp</b> into the consensus at <b>cons</b>, advance
|
||||||
* the index to the next router line ("r ...") in the consensus, or to
|
* the index to the next router line ("r ...") in the consensus, or to
|
||||||
|
Loading…
Reference in New Issue
Block a user