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

cmd/tools/graphml2gv.c

index 2af7d955328a13cac9d9ec1a52d7a96faf0bc751..d82aaa706c1918b8b4e0594fd4544fa31318ce57 100644 (file)
@@ -603,7 +603,7 @@ static void characterDataHandler(void *userData, const char *s, int length)
     agxbput_n(&ud->xml_attr_value, (char *) s, length);
 }
 
-Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv)
+static Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv)
 {
     char buf[BUFSIZE];
     int done;