diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-12-04 02:59:28 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-12-04 03:14:33 +0700 |
commit | 2203db5b9ae9340bfd4a828a5f2d6f9e1821c74d (patch) | |
tree | 70bba205dca4939895982db807fbfc9eecedf066 /src/core | |
parent | 811638c00539152bb445ee15ddd2f85c3d1bf12f (diff) |
soft_uart: cosmetic: do not use 'osmo_' prefix for static symbols
Change-Id: I2b450b715dbfd0f8d6ddb4994ae0be3b890ed4fc
Related: OS#4396
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/soft_uart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/soft_uart.c b/src/core/soft_uart.c index 8cf45e1e..a1888d68 100644 --- a/src/core/soft_uart.c +++ b/src/core/soft_uart.c @@ -109,7 +109,7 @@ static void suart_rx_ch(struct osmo_soft_uart *suart, uint8_t ch) } /* 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 @@ int osmo_soft_uart_rx_ubits(struct osmo_soft_uart *suart, const ubit_t *ubits, s 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 @@ int osmo_soft_uart_rx_ubits(struct osmo_soft_uart *suart, const ubit_t *ubits, s *************************************************************************/ /* 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 @@ int osmo_soft_uart_tx_ubits(struct osmo_soft_uart *suart, ubit_t *ubits, size_t } 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; |