From 7aa5c178cee64ce4640260efeaa67669a61c95d2 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 4 Jun 2021 19:21:37 -0700 Subject: [PATCH] remove unused mkboxf --- lib/common/geom.c | 21 --------------------- lib/common/geomprocs.h | 2 -- lib/gvc/gvc.def | 1 - 3 files changed, 24 deletions(-) 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 -- 2.40.0