From: Nick Mathewson Date: Wed, 9 Oct 2019 16:54:23 +0000 (-0400) Subject: namemap_st.h: Use COCCI to hide an initializer. X-Git-Tag: tor-0.4.3.1-alpha~262^2~1^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=514c61e4064dafa73895a8bf6b3733bd2e571c32;p=thirdparty%2Ftor.git namemap_st.h: Use COCCI to hide an initializer. --- diff --git a/src/lib/container/namemap_st.h b/src/lib/container/namemap_st.h index 5008fd5855..2fa73fc173 100644 --- a/src/lib/container/namemap_st.h +++ b/src/lib/container/namemap_st.h @@ -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) */