]> sigrok.org Git - libsigrok.git/commitdiff
ols: Clean up: Prefix private function for consistency
authorv1ne <redacted>
Wed, 18 Nov 2020 22:54:46 +0000 (23:54 +0100)
committerGerhard Sittig <redacted>
Wed, 6 Jan 2021 09:45:28 +0000 (10:45 +0100)
src/hardware/openbench-logic-sniffer/protocol.c

index 8758ef88c07e7bf5e1619ba7885684679ea9d4ec..b9a4ffa276862c54fcf58cee1b39fe7e8221d4ab 100644 (file)
@@ -151,7 +151,7 @@ static void ols_channel_new(struct sr_dev_inst *sdi, int num_chan)
        devc->max_channels = num_chan;
 }
 
-static void metadata_quirks(struct sr_dev_inst *sdi)
+static void ols_metadata_quirks(struct sr_dev_inst *sdi)
 {
        struct dev_context *devc;
        gboolean is_shrimp;
@@ -302,7 +302,7 @@ SR_PRIV struct sr_dev_inst *get_metadata(struct sr_serial_dev_inst *serial)
        g_string_free(version, FALSE);
 
        /* Optionally amend received metadata, model specific quirks. */
-       metadata_quirks(sdi);
+       ols_metadata_quirks(sdi);
 
        return sdi;
 }