]> granicus.if.org Git - graphviz/commitdiff
common: remove unused 'boxof'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 26 Dec 2022 21:06:34 +0000 (13:06 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 31 Dec 2022 23:34:34 +0000 (15:34 -0800)
lib/common/geomprocs.h

index 360e352c6ba381cfe8087f6e0f7bb6cf1603ebd4..df0d0869da836c149bcd35e9b67f227027ddf551 100644 (file)
@@ -52,15 +52,6 @@ GEOMPROCS_API void rect2poly(pointf *p);
 
 GEOMPROCS_API int line_intersect (pointf a, pointf b, pointf c, pointf d, pointf* p);
 
-static inline box boxof(int llx, int lly, int urx, int ury)
-{
-    box b;
-
-    b.LL.x = llx, b.LL.y = lly;
-    b.UR.x = urx, b.UR.y = ury;
-    return b;
-}
-
 static inline boxf boxfof(double llx, double lly, double urx, double ury)
 {
     boxf b;