fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/35202?usp=email )
Change subject: soft_uart: cosmetic: do not use 'osmo_' prefix for static symbols ......................................................................
soft_uart: cosmetic: do not use 'osmo_' prefix for static symbols
Change-Id: I2b450b715dbfd0f8d6ddb4994ae0be3b890ed4fc Related: OS#4396 --- M src/core/soft_uart.c 1 file changed, 14 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/02/35202/1
diff --git a/src/core/soft_uart.c b/src/core/soft_uart.c index 8cf45e1..a1888d6 100644 --- a/src/core/soft_uart.c +++ b/src/core/soft_uart.c @@ -109,7 +109,7 @@ }
/* receive a single bit */ -static inline void osmo_uart_rx_bit(struct osmo_soft_uart *suart, const ubit_t bit) +static inline void suart_rx_bit(struct osmo_soft_uart *suart, const ubit_t bit) { switch (suart->rx.flow_state) { case SUART_FLOW_ST_IDLE: @@ -200,7 +200,7 @@ if (!suart->rx.running) return -EAGAIN; for (size_t i = 0; i < n_ubits; i++) - osmo_uart_rx_bit(suart, ubits[i]); + suart_rx_bit(suart, ubits[i]); return 0; }
@@ -209,7 +209,7 @@ *************************************************************************/
/* pull a single bit out of the UART transmitter */ -static inline ubit_t osmo_uart_tx_bit(struct osmo_soft_uart *suart, struct msgb *msg) +static inline ubit_t suart_tx_bit(struct osmo_soft_uart *suart, struct msgb *msg) { ubit_t tx_bit = 1;
@@ -315,7 +315,7 @@ }
for (size_t i = 0; i < n_ubits; i++) - ubits[i] = osmo_uart_tx_bit(suart, msg); + ubits[i] = suart_tx_bit(suart, msg); msgb_free(msg);
return 0;