From f2f750afd82ba81d1c0a46187c62b93823be404a Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 1 Aug 2021 15:00:32 +0200 Subject: [PATCH] neatogen: remove duplicate declaration of in_poly in neatosplines.c The in_poly function is already declared in lib/pathplan/pathutil.h. Without this change, an upcoming commit that adds dllimport/dllexport storage-class attribute declarations in lib/pathplan/pathutil.h would cause the following warning for the duplicate definition: C:\Users\magja\graphviz\lib\neatogen\neatosplines.c(27,48): warning C4273: 'in_poly': inconsistent dll linkage [C:\Users\magja\graphviz\build\lib\neatogen\neatogen.vcxproj] Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- lib/neatogen/neatosplines.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index a005dd8c1..6d47dac8a 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -23,8 +23,6 @@ #include #endif -extern int in_poly(Ppoly_t argpoly, Ppoint_t q); - static boolean spline_merge(node_t * n) { -- 2.40.0