summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-14 21:10:06 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-14 21:10:06 +0000
commit7e6a41af93c15173f0e3fbd83a6bd95865c3a289 (patch)
tree49a044fa582501bd34bd02c60592e39bccd34f08 /src/common/container.c
parentb881742d871aaeb329f966eb0c1b697f5a436de1 (diff)
downloadtor-7e6a41af93c15173f0e3fbd83a6bd95865c3a289.tar.gz
tor-7e6a41af93c15173f0e3fbd83a6bd95865c3a289.zip
Make hashtables use a little less space on 64-bit architectures.
svn:r5585
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index cefaad3cef..f3db56c6a0 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -438,8 +438,8 @@ smartlist_sort_strings(smartlist_t *sl)
#define DEFINE_MAP_STRUCTS(maptype, keydecl, prefix) \
typedef struct prefix ## entry_t { \
HT_ENTRY(prefix ## entry_t) node; \
- keydecl; \
void *val; \
+ keydecl; \
} prefix ## entry_t; \
struct maptype { \
HT_HEAD(prefix ## impl, prefix ## entry_t) head; \