From 5fb094e1c28e426fbc4976a9e976cfb326a44e47 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 24 Jul 2021 16:24:28 +0200 Subject: [PATCH] pathplan: add missing storage-class attribute declaration for in_poly Towards https://gitlab.com/graphviz/graphviz/-/issues/2058. --- lib/pathplan/pathutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pathplan/pathutil.h b/lib/pathplan/pathutil.h index 070871c07..503ed90f6 100644 --- a/lib/pathplan/pathutil.h +++ b/lib/pathplan/pathutil.h @@ -41,7 +41,7 @@ extern "C" { PATHUTIL_API int wind(Ppoint_t a, Ppoint_t b, Ppoint_t c); PATHUTIL_API COORD dist2(Ppoint_t, Ppoint_t); - int in_poly(Ppoly_t argpoly, Ppoint_t q); + PATHUTIL_API int in_poly(Ppoly_t argpoly, Ppoint_t q); #undef PATHUTIL_API #ifdef __cplusplus -- 2.40.0