aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-01-07 18:07:17 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-01-07 18:07:17 +0100
commit76d2c8b2681859d58eaa3e83379625a6a80d8ea4 (patch)
treeedffd436122a89c493a3ce6464db692761109933 /tests
parent0b05039f0d586175905e3cbcb081581451e7ef51 (diff)
cosmetic: tests: sgsn_test: Use proper formatting and remove uneeded semicolons
Diffstat (limited to 'tests')
-rw-r--r--tests/sgsn/sgsn_test.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/sgsn/sgsn_test.c b/tests/sgsn/sgsn_test.c
index 5743fce9..42373499 100644
--- a/tests/sgsn/sgsn_test.c
+++ b/tests/sgsn/sgsn_test.c
@@ -165,7 +165,7 @@ static int count(struct llist_head *head)
llist_for_each(cur, head)
count += 1;
- return count;
+ return count;
}
static struct msgb *create_msg(const uint8_t *data, size_t len)
@@ -1085,7 +1085,8 @@ static void test_gmm_attach_acl(void)
cleanup_test();
}
-int my_subscr_request_update_location(struct sgsn_mm_ctx *mmctx) {
+int my_subscr_request_update_location(struct sgsn_mm_ctx *mmctx)
+{
int rc;
rc = __real_gprs_subscr_request_update_location(mmctx);
if (rc == -ENOTSUP) {
@@ -1093,14 +1094,14 @@ int my_subscr_request_update_location(struct sgsn_mm_ctx *mmctx) {
gprs_subscr_update(mmctx->subscr);
}
return rc;
-};
+}
int my_subscr_request_auth_info(struct sgsn_mm_ctx *mmctx, const uint8_t *auts,
const uint8_t *auts_rand)
{
gprs_subscr_update(mmctx->subscr);
return 0;
-};
+}
static void test_gmm_attach_subscr(void)
{
@@ -1135,7 +1136,7 @@ int my_subscr_request_auth_info_fake_auth(struct sgsn_mm_ctx *mmctx, const uint8
gprs_subscr_update_auth_info(mmctx->subscr);
return 0;
-};
+}
static void test_gmm_attach_subscr_fake_auth(void)
{
@@ -1178,7 +1179,7 @@ int my_subscr_request_auth_info_real_auth(struct sgsn_mm_ctx *mmctx, const uint8
gprs_subscr_update_auth_info(mmctx->subscr);
return 0;
-};
+}
static void test_gmm_attach_subscr_real_auth(void)
{