aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/chan_counts.h
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 /include/osmocom/bsc/chan_counts.h
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 'include/osmocom/bsc/chan_counts.h')
-rw-r--r--include/osmocom/bsc/chan_counts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/bsc/chan_counts.h b/include/osmocom/bsc/chan_counts.h
index c11473e71..a830e8745 100644
--- a/include/osmocom/bsc/chan_counts.h
+++ b/include/osmocom/bsc/chan_counts.h
@@ -6,11 +6,11 @@ struct gsm_bts_trx;
struct gsm_bts_trx_ts;
struct gsm_lchan;
-void chan_counts_sig_init();
+void chan_counts_sig_init(void);
void chan_counts_ts_update(struct gsm_bts_trx_ts *ts);
void chan_counts_ts_clear(struct gsm_bts_trx_ts *ts);
void chan_counts_trx_update(struct gsm_bts_trx *trx);
-void chan_counts_bsc_verify();
+void chan_counts_bsc_verify(void);
/* First array index to chan_counts.val. */
enum chan_counts_dim1 {