[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] namemap_st.h: Use COCCI to hide an initializer.
commit 514c61e4064dafa73895a8bf6b3733bd2e571c32
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Oct 9 12:54:23 2019 -0400
namemap_st.h: Use COCCI to hide an initializer.
---
src/lib/container/namemap_st.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/container/namemap_st.h b/src/lib/container/namemap_st.h
index 5008fd585..2fa73fc17 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) */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits