laforge has submitted this change. ( 
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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  osmith: Looks good to me, but someone else must approve




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;

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/35202?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2b450b715dbfd0f8d6ddb4994ae0be3b890ed4fc
Gerrit-Change-Number: 35202
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-MessageType: merged

Reply via email to