dexter has uploaded this change for review.
pcu_sock: fix sourcecode formatting
Change-Id: Ib88173363fc11ad44a5bdbcd85ea8ca075db7997
---
M include/osmo-bts/pcu_if.h
M src/common/pcu_sock.c
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/84/29484/1
diff --git a/include/osmo-bts/pcu_if.h b/include/osmo-bts/pcu_if.h
index bc30f34..6cdc682 100644
--- a/include/osmo-bts/pcu_if.h
+++ b/include/osmo-bts/pcu_if.h
@@ -5,7 +5,7 @@
extern int pcu_direct;
-#define PCUIF_HDR_SIZE ( sizeof(struct gsm_pcu_if) - sizeof(((struct gsm_pcu_if *)0)->u) )
+#define PCUIF_HDR_SIZE (sizeof(struct gsm_pcu_if) - sizeof(((struct gsm_pcu_if *)0)->u))
int pcu_tx_info_ind(void);
int pcu_tx_si(const struct gsm_bts *bts, enum osmo_sysinfo_type si_type, bool enable);
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index 980ed13..b7ec048 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -899,7 +899,7 @@
"size is %zu, discarding\n", prim_len, #prim_msg, _len); \
return -EINVAL; \
} \
- } while(0);
+ } while (0)
static int pcu_rx(struct gsm_network *net, uint8_t msg_type,
struct gsm_pcu_if *pcu_prim, size_t prim_len)
{
To view, visit change 29484. To unsubscribe, or for help writing mail filters, visit settings.