Make libtimer to be osmo_* compatible in some places

This commit is contained in:
Andreas Eversberg
2023-01-20 18:03:44 +01:00
parent 3bc3e67abb
commit f4abbaf027
25 changed files with 141 additions and 90 deletions

View File

@@ -283,7 +283,7 @@ int imts_init(void)
return 0;
}
static void imts_timeout(struct timer *timer);
static void imts_timeout(void *data);
static void imts_go_idle(imts_t *imts);
static void imts_paging(imts_t *imts, const char *dial_string, int loopback);
static void imts_detector_test(imts_t *imts, double length_1, double length_2, double length_3);
@@ -899,9 +899,9 @@ static void page_after_digit(imts_t *imts)
}
/* Timeout handling */
static void imts_timeout(struct timer *timer)
static void imts_timeout(void *data)
{
imts_t *imts = (imts_t *)timer->priv;
imts_t *imts = data;
switch (imts->state) {
case IMTS_IDLE: