From: Matthew Fernandez Date: Tue, 14 Jul 2020 03:02:53 +0000 (-0700) Subject: make overlap.h prototypes unconditionally visible to remove_overlap() X-Git-Tag: 2.46.0~20^2^2~179^2~4^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc8f3e901b3055b2b754c01506154ef0bf89727e;p=graphviz make overlap.h prototypes unconditionally visible to remove_overlap() This makes it difficult for remove_overlap() definitions to drift out of line from its declaration without causing a compile error. Related to #1544. --- diff --git a/lib/neatogen/overlap.c b/lib/neatogen/overlap.c index 705cb8ca5..e410e5546 100644 --- a/lib/neatogen/overlap.c +++ b/lib/neatogen/overlap.c @@ -12,11 +12,11 @@ *************************************************************************/ #include "config.h" +#include "overlap.h" #if ((defined(HAVE_GTS) || defined(HAVE_TRIANGLE)) && defined(SFDP)) #include "SparseMatrix.h" -#include "overlap.h" #include "call_tri.h" #include "red_black_tree.h" #include "types.h"