aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/handover_fsm.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-11-03 11:50:48 +0100
committerlaforge <laforge@osmocom.org>2022-11-10 00:28:46 +0000
commit6c8ca97546ee6d253cf8a477c4549e94ef305c1b (patch)
tree81c07b1122322474adf1bde4b937eeaaf59c4bf3 /src/osmo-bsc/handover_fsm.c
parent2986ee497bf743d5b96e4ca1064380b12decd37f (diff)
Support building with -Werror=strict-prototypes / -Werror=old-style-definition
Unfortunately "-std=c99" is not sufficient to make gcc ignore cold that uses constructs of earlier C standards, which were abandoned in C99. See https://lwn.net/ml/fedora-devel/Y1kvF35WozzGBpc8@redhat.com/ for some related discussion. Change-Id: Ic92aa70d569778a776f4c5d24c455f71fd50b61b
Diffstat (limited to 'src/osmo-bsc/handover_fsm.c')
-rw-r--r--src/osmo-bsc/handover_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/handover_fsm.c b/src/osmo-bsc/handover_fsm.c
index 92e8c6e5a..0d888e024 100644
--- a/src/osmo-bsc/handover_fsm.c
+++ b/src/osmo-bsc/handover_fsm.c
@@ -293,7 +293,7 @@ static void handover_reset(struct gsm_subscriber_connection *conn)
};
}
-void handover_fsm_init()
+void handover_fsm_init(void)
{
OSMO_ASSERT(osmo_fsm_register(&ho_fsm) == 0);
}