summaryrefslogtreecommitdiff
path: root/src/lib/dispatch/dispatch_naming.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dispatch/dispatch_naming.c')
-rw-r--r--src/lib/dispatch/dispatch_naming.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dispatch/dispatch_naming.c b/src/lib/dispatch/dispatch_naming.c
index 83d9a2d604..e8e28cc71e 100644
--- a/src/lib/dispatch/dispatch_naming.c
+++ b/src/lib/dispatch/dispatch_naming.c
@@ -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 /* !defined(COCCI) */
DECLARE_ID_MAP_FNS(message);
DECLARE_ID_MAP_FNS(channel);