various comment / whitespace tweaks (libmsc, gprs, libcommon-cs)

cosmetic ws in common_cs_vty.c, osmo_msc.c

comment: tiny typo fix in gsm_04_08.c

In comments, drop some unbalanced braces, because simplistic C file harvesters
will break at a single opening brace even if it is in a comment. This is aimed
at the fsm-to-dot.py script in libosmocore/contrib.

Change-Id: I3c1fa53195a1e57d6fe0a6791c346d30ceff1251
This commit is contained in:
Neels Hofmeyr 2016-12-18 23:52:38 +01:00
parent d0ef1ed78c
commit cc7db18e1a
5 changed files with 5 additions and 4 deletions

View File

@ -911,6 +911,7 @@ static int sndcp_rx_llc_prim()
case LL_DATA_CONF:
case LL_UNITDATA_IND:
case LL_STATUS_IND:
}
}
#endif

View File

@ -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;

View File

@ -163,7 +163,7 @@ DEFUN(cfg_net_encryption,
{
struct gsm_network *gsmnet = gsmnet_from_vty(vty);
gsmnet->a5_encryption= atoi(argv[0]);
gsmnet->a5_encryption = atoi(argv[0]);
return CMD_SUCCESS;
}

View File

@ -3759,7 +3759,7 @@ int gsm0408_dispatch(struct gsm_subscriber_connection *conn, struct msgb *msg)
}
/*
* This will be ran by the linker when loading the DSO. We use it to
* This will be run by the linker when loading the DSO. We use it to
* do system initialization, e.g. registration of signal handlers.
*/
static __attribute__((constructor)) void on_dso_load_0408(void)

View File

@ -131,7 +131,7 @@ static void msc_ciph_m_compl(struct gsm_subscriber_connection *conn,
static struct bsc_api msc_handler = {
.sapi_n_reject = msc_sapi_n_reject,
.compl_l3 = msc_compl_l3,
.dtap = msc_dtap,
.dtap = msc_dtap,
.clear_request = msc_clear_request,
.assign_compl = msc_assign_compl,
.assign_fail = msc_assign_fail,