pgvector.git / summary / log / commit / refs
commit 1994fd003aaecc495a5a4fd3d5e6fa22ceb657ba
Author: Andrew Kane <andrew@ankane.org>
Date: Tue Apr 23 02:10:50 2024 +0000
Removed unneeded headers [skip ci]
src/halfvec.h | 1 -
src/hnswutils.c | 2 --
src/ivfutils.c | 2 --
src/sparsevec.h | 1 -
4 files changed, 6 deletions(-)
diff --git a/src/halfvec.h b/src/halfvec.h
index 80efa131..99ed3fd7 100644
--- a/src/halfvec.h
+++ b/src/halfvec.h
@@ -45,6 +45,5 @@ typedef struct HalfVector
HalfVector *InitHalfVector(int dim);
int halfvec_cmp_internal(HalfVector * a, HalfVector * b);
-PGDLLEXPORT Datum halfvec_l2_normalize(PG_FUNCTION_ARGS);
#endif
diff --git a/src/hnswutils.c b/src/hnswutils.c
index b8dfd048..3773b1dd 100644
--- a/src/hnswutils.c
+++ b/src/hnswutils.c
@@ -6,7 +6,6 @@
#include "catalog/pg_type.h"
#include "catalog/pg_type_d.h"
#include "fmgr.h"
-#include "halfvec.h"
#include "hnsw.h"
#include "lib/pairingheap.h"
#include "sparsevec.h"
@@ -15,7 +14,6 @@
#include "utils/memdebug.h"
#include "utils/rel.h"
#include "utils/syscache.h"
-#include "vector.h"
#if PG_VERSION_NUM >= 130000
#include "common/hashfn.h"
diff --git a/src/ivfutils.c b/src/ivfutils.c
index cca3bd83..904ee39f 100644
--- a/src/ivfutils.c
+++ b/src/ivfutils.c
@@ -3,10 +3,8 @@
#include "access/generic_xlog.h"
#include "catalog/pg_type.h"
#include "fmgr.h"
-#include "halfvec.h"
#include "ivfflat.h"
#include "storage/bufmgr.h"
-#include "vector.h"
#include "utils/syscache.h"
/*
diff --git a/src/sparsevec.h b/src/sparsevec.h
index 52939bf5..8d5009c2 100644
--- a/src/sparsevec.h
+++ b/src/sparsevec.h
@@ -23,6 +23,5 @@ typedef struct SparseVector
} SparseVector;
SparseVector *InitSparseVector(int dim, int nnz);
-PGDLLEXPORT Datum sparsevec_l2_normalize(PG_FUNCTION_ARGS);
#endif
[parent: bd62561a1914]