aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/hashtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/hashtab.c')
-rw-r--r--src/nvim/hashtab.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/hashtab.c b/src/nvim/hashtab.c
index 4e4274bfa1..f8fd8f44af 100644
--- a/src/nvim/hashtab.c
+++ b/src/nvim/hashtab.c
@@ -30,7 +30,9 @@
// Magic value for algorithm that walks through the array.
#define PERTURB_SHIFT 5
-static int hash_may_resize(hashtab_T *ht, size_t minitems);
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "hashtab.c.generated.h"
+#endif
/// Initialize an empty hash table.
void hash_init(hashtab_T *ht)