]> granicus.if.org Git - graphviz/commitdiff
Quartz plugin: mark 'memory_data_consumer_get_byte_pointer' static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 6 Apr 2022 14:43:26 +0000 (07:43 -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/gvdevice_quartz.c

index 346932c77001dab97d4d35aba0cc04fdba6ff87c..a4e4bad8c89f6deafc4b2176dc12e6e21e9b0648 100644 (file)
@@ -16,7 +16,7 @@
 
 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1040 && defined(HAVE_PANGOCAIRO)
 
-const void *memory_data_consumer_get_byte_pointer(void *info)
+static const void *memory_data_consumer_get_byte_pointer(void *info)
 {
        return info;
 }