Commit 8f7277df authored by Andres Freund's avatar Andres Freund

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
parent 005638e9
...@@ -885,7 +885,7 @@ SH_STAT(SH_TYPE *tb) ...@@ -885,7 +885,7 @@ SH_STAT(SH_TYPE *tb)
#undef SH_STATUS #undef SH_STATUS
#undef SH_STATUS_EMPTY #undef SH_STATUS_EMPTY
#undef SH_STATUS_IN_USE #undef SH_STATUS_IN_USE
#undef SH_ITERTOR #undef SH_ITERATOR
/* external function names */ /* external function names */
#undef SH_CREATE #undef SH_CREATE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment