diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-05-15 14:23:02 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-05-15 14:39:30 +0200 |
commit | d3ba2f6037dcf051a9235bca2b0145b3917300d9 (patch) | |
tree | 97f9163304a026ab7690b4cd45c0cefde4efafde /src/host/osmocon/osmoload.c | |
parent | 6f9af5945e855dab4810641dc72eff6a24c30a77 (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/host/osmocon/osmoload.c')
-rw-r--r-- | src/host/osmocon/osmoload.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host/osmocon/osmoload.c b/src/host/osmocon/osmoload.c index 6663a1e1..6a31dc10 100644 --- a/src/host/osmocon/osmoload.c +++ b/src/host/osmocon/osmoload.c @@ -84,7 +84,7 @@ static struct { uint8_t command; /* general timeout */ - struct timer_list timeout; + struct osmo_timer_list timeout; /* binary i/o for firmware images */ FILE *binfile; @@ -661,7 +661,7 @@ loader_do_memload() { return; } - bsc_schedule_timer(&osmoload.timeout, 0, 500000); + osmo_timer_schedule(&osmoload.timeout, 0, 500000); uint8_t reqbytes = (rembytes < MEM_MSG_MAX) ? rembytes : MEM_MSG_MAX; @@ -701,7 +701,7 @@ loader_do_fprogram() { return; } - bsc_schedule_timer(&osmoload.timeout, 0, 10000000); + osmo_timer_schedule(&osmoload.timeout, 0, 10000000); uint8_t reqbytes = (rembytes < MEM_MSG_MAX) ? rembytes : MEM_MSG_MAX; @@ -1143,7 +1143,7 @@ loader_command(char *name, int cmdc, char **cmdv) { if(osmoload.state == STATE_QUERY_PENDING) { osmoload.timeout.cb = &query_timeout; - bsc_schedule_timer(&osmoload.timeout, 0, 5000000); + osmo_timer_schedule(&osmoload.timeout, 0, 5000000); } if(osmoload.state == STATE_LOAD_IN_PROGRESS) { osmoload.timeout.cb = &memop_timeout; |