mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
namemap_st.h: Use COCCI to hide an initializer.
This commit is contained in:
parent
2695f7e68c
commit
514c61e406
@ -28,7 +28,9 @@ struct namemap_t {
|
|||||||
struct smartlist_t *names;
|
struct smartlist_t *names;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef COCCI
|
||||||
/** Macro to initialize a namemap. */
|
/** Macro to initialize a namemap. */
|
||||||
#define NAMEMAP_INIT() { HT_INITIALIZER(), NULL }
|
#define NAMEMAP_INIT() { HT_INITIALIZER(), NULL }
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* !defined(NAMEMAP_ST_H) */
|
#endif /* !defined(NAMEMAP_ST_H) */
|
||||||
|
Loading…
Reference in New Issue
Block a user