]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
namemap_st.h: Use COCCI to hide an initializer.
authorNick Mathewson <nickm@torproject.org>
Wed, 9 Oct 2019 16:54:23 +0000 (12:54 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 13:32:13 +0000 (09:32 -0400)
src/lib/container/namemap_st.h

index 5008fd5855a448fc92beb37bc2328cefdf5552b9..2fa73fc173b39545e09e83ad593a491b553c3352 100644 (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) */