commit | a488639e426b530b31992a94480bda8125b5025e | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Thu Apr 29 16:36:53 2021 +0200 |
committer | laforge <laforge@osmocom.org> | Thu Apr 29 20:14:51 2021 +0000 |
tree | 796575d4932f9e031867166f2090d96e95ef3bcc | |
parent | 5782fec9fffed4a207a1fcc1e745fb4f9d89ba47 [diff] [blame] |
osmo_timer_pending: Make arg const Change-Id: I250c25c3ac61ac364335f81d8ba50cb32fd6976e
diff --git a/src/timer.c b/src/timer.c index bcd9f5b..ed5a610 100644 --- a/src/timer.c +++ b/src/timer.c
@@ -135,7 +135,7 @@ * This function can be used to determine whether a given timer * has alredy expired (returns 0) or is still pending (returns 1) */ -int osmo_timer_pending(struct osmo_timer_list *timer) +int osmo_timer_pending(const struct osmo_timer_list *timer) { return timer->active; }