]> granicus.if.org Git - graphviz/commitdiff
mark compBB as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 2 May 2021 02:27:11 +0000 (19:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 16 May 2021 16:40:28 +0000 (09:40 -0700)
This function is not used outside of its containing file.

cmd/tools/gvpack.c

index 5e410ec1c7f221075464f26b1e73833186a5f7ac..16a4ffa5bc0b60253c3abca0a832fc37b22c166b 100644 (file)
@@ -815,7 +815,7 @@ static Agraph_t **readGraphs(int *cp, GVC_t* gvc)
  * Compute the bounding box containing the graphs.
  * We can just use the bounding boxes of the graphs.
  */
-boxf compBB(Agraph_t ** gs, int cnt)
+static boxf compBB(Agraph_t ** gs, int cnt)
 {
     boxf bb, bb2;
     int i;