namemap_st.h: Use COCCI to hide an initializer.

This commit is contained in:
Nick Mathewson 2019-10-09 12:54:23 -04:00
parent 2695f7e68c
commit 514c61e406

View File

@ -28,7 +28,9 @@ struct namemap_t {
struct smartlist_t *names;
};
#ifndef COCCI
/** Macro to initialize a namemap. */
#define NAMEMAP_INIT() { HT_INITIALIZER(), NULL }
#endif
#endif /* !defined(NAMEMAP_ST_H) */