aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-05 00:38:28 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-05 03:17:03 +0100
commit619ecd95e02772c1e083c4b241f0e5dbe90d9b00 (patch)
tree8a3b677b1f300494b0a75b67ed013147b7f83be8
parente2372333ba9e7c7079073a27dcb07d13b9128e51 (diff)
cosmetic: msc_main.c: default args definition style
Explicitly name each arg with its default value, omit zero values, end last item in comma. Change-Id: I0e0f1e2c8722768b6c61fd6544911b20fe1af212
-rw-r--r--src/osmo-msc/msc_main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index afab417d3..07e4c8b8a 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -96,11 +96,9 @@ static struct {
const char *mncc_sock_path;
int use_db_counter;
} msc_cmdline_config = {
- "sms.db",
- "osmo-msc.cfg",
- 0,
- 0,
- 1
+ .database_name = "sms.db",
+ .config_file = "osmo-msc.cfg",
+ .use_db_counter = 1,
};
/* timer to store statistics */