diff options
Diffstat (limited to 'net/lapb/lapb_timer.c')
-rw-r--r-- | net/lapb/lapb_timer.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/lapb/lapb_timer.c b/net/lapb/lapb_timer.c index a010ac9d63fc..73b75f2e03de 100644 --- a/net/lapb/lapb_timer.c +++ b/net/lapb/lapb_timer.c @@ -37,7 +37,7 @@ static void lapb_t1timer_expiry(unsigned long); static void lapb_t2timer_expiry(unsigned long); -void lapb_start_t1timer(lapb_cb *lapb) +void lapb_start_t1timer(struct lapb_cb *lapb) { del_timer(&lapb->t1timer); @@ -48,7 +48,7 @@ void lapb_start_t1timer(lapb_cb *lapb) add_timer(&lapb->t1timer); } -void lapb_start_t2timer(lapb_cb *lapb) +void lapb_start_t2timer(struct lapb_cb *lapb) { del_timer(&lapb->t2timer); @@ -59,24 +59,24 @@ void lapb_start_t2timer(lapb_cb *lapb) add_timer(&lapb->t2timer); } -void lapb_stop_t1timer(lapb_cb *lapb) +void lapb_stop_t1timer(struct lapb_cb *lapb) { del_timer(&lapb->t1timer); } -void lapb_stop_t2timer(lapb_cb *lapb) +void lapb_stop_t2timer(struct lapb_cb *lapb) { del_timer(&lapb->t2timer); } -int lapb_t1timer_running(lapb_cb *lapb) +int lapb_t1timer_running(struct lapb_cb *lapb) { return timer_pending(&lapb->t1timer); } static void lapb_t2timer_expiry(unsigned long param) { - lapb_cb *lapb = (lapb_cb *)param; + struct lapb_cb *lapb = (struct lapb_cb *)param; if (lapb->condition & LAPB_ACK_PENDING_CONDITION) { lapb->condition &= ~LAPB_ACK_PENDING_CONDITION; @@ -86,7 +86,7 @@ static void lapb_t2timer_expiry(unsigned long param) static void lapb_t1timer_expiry(unsigned long param) { - lapb_cb *lapb = (lapb_cb *)param; + struct lapb_cb *lapb = (struct lapb_cb *)param; switch (lapb->state) { |