summaryrefslogtreecommitdiff
path: root/src/include/lib/dshash.h
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-03-01 16:25:46 -0800
committerAndres Freund <andres@anarazel.de>2018-03-01 16:25:46 -0800
commit17b340abf83d1b5f67808c45c63b9e0439569cef (patch)
tree3234e6884cdfd2bc03ea603d7053c52715ba4537 /src/include/lib/dshash.h
parent07c6e5163e1f4ae12a3a6478788dd969f8f38cc9 (diff)
Minor clean-up in dshash.{c,h}.
For consistency with other code that deals in numbers of buckets, the macro BUCKETS_PER_PARTITION should produce a value of type size_t. Also, fix a mention of an obsolete proposed name for dshash.c that appeared in a comment. Author: Thomas Munro, based on an observation from Amit Kapila Discussion: https://postgr.es/m/CAA4eK1%2BBOp5aaW3aHEkg5Bptf8Ga_BkBnmA-%3DXcAXShs0yCiYQ%40mail.gmail.com
Diffstat (limited to 'src/include/lib/dshash.h')
-rw-r--r--src/include/lib/dshash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/lib/dshash.h b/src/include/lib/dshash.h
index afee6516af5..3f8086e46d6 100644
--- a/src/include/lib/dshash.h
+++ b/src/include/lib/dshash.h
@@ -55,7 +55,7 @@ typedef struct dshash_parameters
int tranche_id; /* The tranche ID to use for locks */
} dshash_parameters;
-/* Forward declaration of private types for use only by dht.c. */
+/* Forward declaration of private types for use only by dshash.c. */
struct dshash_table_item;
typedef struct dshash_table_item dshash_table_item;