aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/neighbor_ident.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/neighbor_ident.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/neighbor_ident.c')
-rw-r--r--src/osmo-bsc/neighbor_ident.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/neighbor_ident.c b/src/osmo-bsc/neighbor_ident.c
index 44b0b4381..e41a4b2ed 100644
--- a/src/osmo-bsc/neighbor_ident.c
+++ b/src/osmo-bsc/neighbor_ident.c
@@ -293,7 +293,7 @@ bool cell_ab_valid(const struct cell_ab *cell)
return true;
}
-int neighbors_check_cfg()
+int neighbors_check_cfg(void)
{
/* A local neighbor can be configured by BTS number, or by a cell ID. A local neighbor can omit the ARFCN+BSIC,
* in which case those are taken from that local BTS config. If a local neighbor has ARFCN+BSIC configured, it