]> granicus.if.org Git - graphviz/commitdiff
Quartz plugin: mark 'quartz_textlayout' static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 6 Apr 2022 15:11:35 +0000 (08:11 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Apr 2022 15:31:25 +0000 (08:31 -0700)
This function is not used outside of its containing file.

plugin/quartz/gvtextlayout_quartz.c

index 204c33b0f08e2d831cd37009e4ed8c81789de693..f12c9a4a233f782d97070bfd514259d30c63832d 100644 (file)
@@ -94,7 +94,7 @@ void quartz_free_layout(void *layout)
 
 #endif
 
-bool quartz_textlayout(textspan_t *para, char **fontpath)
+static bool quartz_textlayout(textspan_t *para, char **fontpath)
 {
        void *line = quartz_new_layout(para->font->name, para->font->size, para->str);
        if (line)