tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 514c61e4064dafa73895a8bf6b3733bd2e571c32
parent 2695f7e68c23612804c9f74f33701eed4c949d70
Author: Nick Mathewson <nickm@torproject.org>
Date:   Wed,  9 Oct 2019 12:54:23 -0400

namemap_st.h: Use COCCI to hide an initializer.

Diffstat:
Msrc/lib/container/namemap_st.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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) */