aboutsummaryrefslogtreecommitdiff
path: root/src/common/ht.h
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/ht.h
parentb881742d871aaeb329f966eb0c1b697f5a436de1 (diff)
downloadtor-7e6a41af93c15173f0e3fbd83a6bd95865c3a289.tar
tor-7e6a41af93c15173f0e3fbd83a6bd95865c3a289.tar.gz
Make hashtables use a little less space on 64-bit architectures.
svn:r5585
Diffstat (limited to 'src/common/ht.h')
-rw-r--r--src/common/ht.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/ht.h b/src/common/ht.h
index 479125c40..e50ada29c 100644
--- a/src/common/ht.h
+++ b/src/common/ht.h
@@ -11,10 +11,10 @@
#define HT_HEAD(name, type) \
struct name { \
- /* How long is the hash table? */ \
- unsigned hth_table_length; \
/* The hash table itself. */ \
struct type **hth_table; \
+ /* How long is the hash table? */ \
+ unsigned hth_table_length; \
/* How many elements does the table contain? */ \
unsigned hth_n_entries; \
/* How many elements will we allow in the table before resizing it? */ \