]> granicus.if.org Git - graphviz/commitdiff
mark attr_compare static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 16 May 2021 18:41:37 +0000 (11:41 -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/smyrna/gui/frmobjectui.c

index 5522d27131ac1b38d25429f13b4b6da3786f52f3..91ee3dbbdc6a9fcd51da37b463330649dc1a1c53 100644 (file)
@@ -186,7 +186,7 @@ void print_attr_list(attr_list * l)
     }
 }
 
-int attr_compare(const void *a, const void *b)
+static int attr_compare(const void *a, const void *b)
 {
     const attr_t *a1 = *(attr_t *const *) a;
     const attr_t *a2 = *(attr_t *const *) b;