summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-05-15 14:23:02 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-05-15 14:39:30 +0200
commitd3ba2f6037dcf051a9235bca2b0145b3917300d9 (patch)
tree97f9163304a026ab7690b4cd45c0cefde4efafde /src/target/firmware/include
parent6f9af5945e855dab4810641dc72eff6a24c30a77 (diff)
src: use namespace prefix osmo_timer*
Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
Diffstat (limited to 'src/target/firmware/include')
-rw-r--r--src/target/firmware/include/comm/timer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/firmware/include/comm/timer.h b/src/target/firmware/include/comm/timer.h
index 42bf7343..db7d1a55 100644
--- a/src/target/firmware/include/comm/timer.h
+++ b/src/target/firmware/include/comm/timer.h
@@ -27,7 +27,7 @@
/**
* Timer management:
- * - Create a struct timer_list
+ * - Create a struct osmo_timer_list
* - Fill out timeout and use add_timer or
* use schedule_timer to schedule a timer in
* x seconds and microseconds from now...
@@ -41,7 +41,7 @@
* the timers.
*
*/
-struct timer_list {
+struct osmo_timer_list {
struct llist_head entry;
unsigned long expires;
@@ -58,10 +58,10 @@ extern unsigned long volatile jiffies;
/**
* timer management
*/
-void add_timer(struct timer_list *timer);
-void schedule_timer(struct timer_list *timer, int miliseconds);
-void del_timer(struct timer_list *timer);
-int timer_pending(struct timer_list *timer);
+void add_timer(struct osmo_timer_list *timer);
+void schedule_timer(struct osmo_timer_list *timer, int miliseconds);
+void del_timer(struct osmo_timer_list *timer);
+int timer_pending(struct osmo_timer_list *timer);
/**