aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-17 05:06:59 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-08 01:38:57 +0100
commit8f87cea9d600d36848ddf3087e6601e12f0e7cef (patch)
treec8175f3926bc8705660bedfe6352e4f2031803fa
parentf0a9407b4988d3334d975ad7e811ca874ae9f18e (diff)
cosmetic: in comments, drop some unbalanced braces
Simplistic C file harvesters will break at a single opening brace even if it is in a comment. This is of course aimed at the fsm-to-dot.py script recently added in libosmocore/contrib. Change-Id: Ie47bc869fbd3f2dab7141a3d61a9d772b5a9b7a9
-rw-r--r--openbsc/src/gprs/gprs_sndcp.c1
-rw-r--r--openbsc/src/gprs/gtphub.c2
-rw-r--r--openbsc/src/libvlr/vlr_lu_fsm.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_sndcp.c b/openbsc/src/gprs/gprs_sndcp.c
index 1cbeede09..70543fba1 100644
--- a/openbsc/src/gprs/gprs_sndcp.c
+++ b/openbsc/src/gprs/gprs_sndcp.c
@@ -911,6 +911,7 @@ static int sndcp_rx_llc_prim()
case LL_DATA_CONF:
case LL_UNITDATA_IND:
case LL_STATUS_IND:
+ }
}
#endif
diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c
index 58300ea13..e5b5462bd 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -553,7 +553,7 @@ static void gtp_decode(const uint8_t *data, int data_len,
}
#if 1
- /* TODO if (<loglevel is debug>) { ...
+ /* TODO if (<loglevel is debug>)
(waiting for a commit from jerlbeck) */
int i;
diff --git a/openbsc/src/libvlr/vlr_lu_fsm.c b/openbsc/src/libvlr/vlr_lu_fsm.c
index 2f8b043be..4758ca668 100644
--- a/openbsc/src/libvlr/vlr_lu_fsm.c
+++ b/openbsc/src/libvlr/vlr_lu_fsm.c
@@ -761,7 +761,7 @@ static void lu_fsm_idle(struct osmo_fsm_inst *fi, uint32_t event,
OSMO_ASSERT(event == VLR_ULA_E_UPDATE_LA);
if (1) { // FIXME
- //if (lfp->type == VLR_LU_TYPE_PERIODIC && lfp->vsub->imeisv[0]) {
+ //if (lfp->type == VLR_LU_TYPE_PERIODIC && lfp->vsub->imeisv[0])
/* R_IMEISV_IR1 passed */
_start_lu_main(fi);
} else {