]> granicus.if.org Git - graphviz/commitdiff
mark binary() static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 16 May 2021 18:29:00 +0000 (11:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 28 May 2021 00:03:30 +0000 (17:03 -0700)
This function is unused outside of its containing file. Squashes a
-Wmissing-prototypes warning.

lib/gvpr/compile.c

index c4c50a816c3b47b29af6aaccb8d41ff6644dca0e..ca8cd2d3a056ee85065111c8239e50ec6bc07666 100644 (file)
@@ -1874,7 +1874,7 @@ refval(Expr_t * pgm, Exnode_t * node, Exid_t * sym, Exref_t * ref,
  * Return -1 if operation cannot be done, 0 otherwise.
  * If arg is > 0, operation unnecessary; just report possibility.
  */
-int
+static int
 binary(Expr_t * pg, Exnode_t * l, Exnode_t * ex, Exnode_t * r, int arg,
        Exdisc_t * disc)
 {