From: v1ne Date: Wed, 18 Nov 2020 22:54:46 +0000 (+0100) Subject: ols: Clean up: Prefix private function for consistency X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=aad6b9de5f82ba8f1673855a62e9b46c81b8eb81;p=libsigrok.git ols: Clean up: Prefix private function for consistency --- diff --git a/src/hardware/openbench-logic-sniffer/protocol.c b/src/hardware/openbench-logic-sniffer/protocol.c index 8758ef88..b9a4ffa2 100644 --- a/src/hardware/openbench-logic-sniffer/protocol.c +++ b/src/hardware/openbench-logic-sniffer/protocol.c @@ -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; }