]> granicus.if.org Git - graphviz/commit
neatogen: remove duplicate declaration of in_poly in neatosplines.c
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 1 Aug 2021 13:00:32 +0000 (15:00 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 19 Dec 2021 20:19:48 +0000 (21:19 +0100)
commitf2f750afd82ba81d1c0a46187c62b93823be404a
tree2e9bcd468237a01f73ddb72dc94f3da17f580783
parent9550d5dae1a487617a8910b1b496ffd12c78a546
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