]> granicus.if.org Git - graphviz/commitdiff
remove unused freepoly
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Jun 2021 01:58:45 +0000 (18:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 00:09:34 +0000 (17:09 -0700)
lib/pathplan/pathplan.def
lib/pathplan/pathutil.h
lib/pathplan/util.c

index 646c2af4877499e8cde10ecf5a7d9f0e2df27388..45417ce22fdb3f269023906ed5aa488c38335ce6 100644 (file)
@@ -5,7 +5,6 @@ EXPORTS
 area2
 directVis
 dist2
-freepoly
 freePath
 in_poly
 intersect
index f4afc0af358a649632f6ee34b2132ea682a9f13d..354be12c4e6e05137942bc4a51af0dc9ae7f5ab4 100644 (file)
@@ -42,7 +42,6 @@ extern "C" {
     extern int intersect(Ppoint_t a, Ppoint_t b, Ppoint_t c, Ppoint_t d);
 
     int in_poly(Ppoly_t argpoly, Ppoint_t q);
-    void freepoly(Ppoly_t);
 
 #undef extern
 #ifdef __cplusplus
index 9a299ecc9df225a360708848b47a900809c65a0c..446a191824c48710a3b6b17e6260add1947bf63e 100644 (file)
@@ -21,11 +21,6 @@ void freePath(Ppolyline_t* p)
     free(p);
 }
 
-void freepoly(Ppoly_t argpoly)
-{
-    free(argpoly.ps);
-}
-
 int Ppolybarriers(Ppoly_t ** polys, int npolys, Pedge_t ** barriers,
                  int *n_barriers)
 {