From: Matthew Fernandez Date: Sat, 5 Jun 2021 02:21:37 +0000 (-0700) Subject: remove unused mkboxf X-Git-Tag: 2.47.3~6^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7aa5c178cee64ce4640260efeaa67669a61c95d2;p=graphviz remove unused mkboxf --- diff --git a/lib/common/geom.c b/lib/common/geom.c index 65402a8ac..4bcf3a47a 100644 --- a/lib/common/geom.c +++ b/lib/common/geom.c @@ -16,27 +16,6 @@ #include #include -boxf mkboxf(pointf p, pointf q) -{ - boxf r; - - if (p.x < q.x) { - r.LL.x = p.x; - r.UR.x = q.x; - } else { - r.LL.x = q.x; - r.UR.x = p.x; - } - if (p.y < q.y) { - r.LL.y = p.y; - r.UR.y = q.y; - } else { - r.LL.y = q.y; - r.UR.y = p.y; - } - return r; -} - /* *-------------------------------------------------------------- * diff --git a/lib/common/geomprocs.h b/lib/common/geomprocs.h index b05b8620b..063cac1a5 100644 --- a/lib/common/geomprocs.h +++ b/lib/common/geomprocs.h @@ -31,8 +31,6 @@ extern "C" { #endif #endif -extern boxf mkboxf(pointf p, pointf q); - extern box flip_rec_box(box b, point p); extern boxf flip_rec_boxf(boxf b, pointf p); diff --git a/lib/gvc/gvc.def b/lib/gvc/gvc.def index 7b89d780e..1dcc8f641 100644 --- a/lib/gvc/gvc.def +++ b/lib/gvc/gvc.def @@ -188,7 +188,6 @@ mapbool maptoken MaxIter MemTest -mkboxf N_activefillcolor N_activepencolor N_color