Change in osmo-e1-hardware[master]: icE1usb: Mark some private functions as 'static'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Dec 14 12:48:29 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21702 )


Change subject: icE1usb: Mark some private functions as 'static'
......................................................................

icE1usb: Mark some private functions as 'static'

Change-Id: Ie9808bb2fe264e9a3fa09168bfde57837b77d291
---
M firmware/ice40-riscv/icE1usb/usb_e1.c
1 file changed, 4 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/02/21702/1

diff --git a/firmware/ice40-riscv/icE1usb/usb_e1.c b/firmware/ice40-riscv/icE1usb/usb_e1.c
index 52fb53b..ff58c08 100644
--- a/firmware/ice40-riscv/icE1usb/usb_e1.c
+++ b/firmware/ice40-riscv/icE1usb/usb_e1.c
@@ -175,7 +175,8 @@
 
 	return NULL;
 }
-enum usb_fnd_resp
+
+static enum usb_fnd_resp
 _e1_set_conf(const struct usb_conf_desc *conf)
 {
 	const struct usb_intf_desc *intf;
@@ -197,7 +198,7 @@
 	return USB_FND_SUCCESS;
 }
 
-enum usb_fnd_resp
+static enum usb_fnd_resp
 _e1_set_intf(const struct usb_intf_desc *base, const struct usb_intf_desc *sel)
 {
 	if (base->bInterfaceNumber != 0)
@@ -239,7 +240,7 @@
 	return USB_FND_SUCCESS;
 }
 
-enum usb_fnd_resp
+static enum usb_fnd_resp
 _e1_get_intf(const struct usb_intf_desc *base, uint8_t *alt)
 {
 	if (base->bInterfaceNumber != 0)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21702
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: Ie9808bb2fe264e9a3fa09168bfde57837b77d291
Gerrit-Change-Number: 21702
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201214/52dde911/attachment.htm>


More information about the gerrit-log mailing list