Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2020-02-24 11:52:45 +0000
committerRobert Haas2020-02-24 11:52:45 +0000
commit9341c783cc42ffae5860c86bdc713bd47d734ffd (patch)
tree5bf0e9fd3a04a442d222a91919ba1df48dd90790 /src/backend
parent07b95c3d8334f737d4717c91967729f7721e785c (diff)
Put all the prototypes for hashfn.c into the same header file.
Previously, some of the prototypes for functions in hashfn.c were in utils/hashutils.h and others were in utils/hsearch.h, but that is confusing and has no particular benefit. Patch by me, reviewed by Suraj Kharage and Mark Dilger. Discussion: http://postgr.es/m/CA+TgmoaRiG4TXND8QuM6JXFRkM_1wL2ZNhzaUKsuec9-4yrkgw@mail.gmail.com
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/lib/dshash.c2
-rw-r--r--src/backend/utils/hash/dynahash.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c
index fbdd9413256..5e0167d9b08 100644
--- a/src/backend/lib/dshash.c
+++ b/src/backend/lib/dshash.c
@@ -35,7 +35,7 @@
#include "storage/ipc.h"
#include "storage/lwlock.h"
#include "utils/dsa.h"
-#include "utils/hsearch.h"
+#include "utils/hashutils.h"
#include "utils/memutils.h"
/*
diff --git a/src/backend/utils/hash/dynahash.c b/src/backend/utils/hash/dynahash.c
index c9026f0e1a8..d245e1aa12c 100644
--- a/src/backend/utils/hash/dynahash.c
+++ b/src/backend/utils/hash/dynahash.c
@@ -89,6 +89,7 @@
#include "storage/shmem.h"
#include "storage/spin.h"
#include "utils/dynahash.h"
+#include "utils/hashutils.h"
#include "utils/memutils.h"