From: Matthew Fernandez Date: Sat, 8 Jan 2022 18:59:48 +0000 (-0800) Subject: nearest_neighbor_graph_ann: remove forcing of C linkage X-Git-Tag: 3.0.0~74^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a330dc076e3b1cf4bf15539d496ab822043d3da4;p=graphviz 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 --- 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