aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-03-01 10:17:12 -0800
committerAndres Freund <andres@anarazel.de>2017-03-01 10:17:12 -0800
commit8f7277dfb5e703a034dbce7b155d998e577a6bc3 (patch)
treebd690aa5e2f14df4e7fea11dc67d3a7d4729d638
parent005638e9886aeedeeef933bdbd123d928053d390 (diff)
downloadpostgresql-8f7277dfb5e703a034dbce7b155d998e577a6bc3.tar.gz
postgresql-8f7277dfb5e703a034dbce7b155d998e577a6bc3.zip
Fix s/ITERTOR/ITERATOR/ typo in simplehash.h.
This could lead to problem when simplehash.h is used to define two different types of hashtable visible in the same translation unit. Reported-By: Josh Soref Discussion: https://postgr.es/m/CACZqfqCC7WdBAY=rQePb9-qW1rjdaTdHsV5KoVejHkDb6qrtOg@mail.gmail.com
-rw-r--r--src/include/lib/simplehash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h
index 2635bd720eb..74f768249a7 100644
--- a/src/include/lib/simplehash.h
+++ b/src/include/lib/simplehash.h
@@ -885,7 +885,7 @@ SH_STAT(SH_TYPE *tb)
#undef SH_STATUS
#undef SH_STATUS_EMPTY
#undef SH_STATUS_IN_USE
-#undef SH_ITERTOR
+#undef SH_ITERATOR
/* external function names */
#undef SH_CREATE