From a330dc076e3b1cf4bf15539d496ab822043d3da4 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 8 Jan 2022 10:59:48 -0800 Subject: [PATCH] nearest_neighbor_graph_ann: remove forcing of C linkage The only calls into this function are from C++ code now, so there is no need to require C calling conventions. Gitlab: #2154 --- lib/mingle/nearest_neighbor_graph_ann.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/mingle/nearest_neighbor_graph_ann.h b/lib/mingle/nearest_neighbor_graph_ann.h index d02affcd9..77660d9ad 100644 --- a/lib/mingle/nearest_neighbor_graph_ann.h +++ b/lib/mingle/nearest_neighbor_graph_ann.h @@ -10,12 +10,4 @@ #pragma once -#ifdef __cplusplus -extern "C" { -#endif - void nearest_neighbor_graph_ann(int nPts, int k, double eps, double *x, int *nz0, int *irn0, int *jcn0, double *val0); - -#ifdef __cplusplus -} -#endif -- 2.40.0