mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
dispatch_naming.c: when COCCI is defined, disable unparseable macros.
This commit is contained in:
parent
04a74d4aa7
commit
9453746b5e
@ -33,6 +33,7 @@ dispatch_naming_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
#ifndef COCCI
|
||||
/* Helper macro: declare functions to map IDs to and from names for a given
|
||||
* type in a namemap_t.
|
||||
*/
|
||||
@ -56,6 +57,7 @@ dispatch_naming_init(void)
|
||||
return namemap_get_size(&type##_id_map); \
|
||||
} \
|
||||
EAT_SEMICOLON
|
||||
#endif
|
||||
|
||||
DECLARE_ID_MAP_FNS(message);
|
||||
DECLARE_ID_MAP_FNS(channel);
|
||||
|
Loading…
Reference in New Issue
Block a user