]> granicus.if.org Git - graphviz/commitdiff
mark nop’s command line parameter variables static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 29 May 2021 18:06:50 +0000 (11:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 00:01:14 +0000 (17:01 -0700)
These are not used outside of their containing file.

cmd/tools/nop.c

index 5dea43c864b3faa33aba7665f116073aa6de6931..f14450aacdc33abbc12e88633d070dde236527a9 100644 (file)
@@ -21,8 +21,8 @@
 
 #include <getopt.h>
 
-char **Files;
-bool chkOnly;
+static char **Files;
+static bool chkOnly;
 
 static const char useString[] = "Usage: nop [-p?] <files>\n\
   -p - check for valid DOT\n\