]> granicus.if.org Git - graphviz/commitdiff
make overlap.h prototypes unconditionally visible to remove_overlap()
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 14 Jul 2020 03:02:53 +0000 (20:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 14 Jul 2020 03:02:53 +0000 (20:02 -0700)
This makes it difficult for remove_overlap() definitions to drift out of line
from its declaration without causing a compile error. Related to #1544.

lib/neatogen/overlap.c

index 705cb8ca596b5aa2543bbc69a5ecc91ebb2aca84..e410e55461e82552716fcae57cb261e78d7b10e3 100644 (file)
  *************************************************************************/
 
 #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"