From 1994fd003aaecc495a5a4fd3d5e6fa22ceb657ba Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 22 Apr 2024 19:10:50 -0700 Subject: [PATCH] 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 80efa13..99ed3fd 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 b8dfd04..3773b1d 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 cca3bd8..904ee39 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 52939bf..8d5009c 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