timer: fix callback declaration inconsistency
authorPawel Wodkowski <pawelx.wodkowski@intel.com>
Wed, 25 Feb 2015 12:41:23 +0000 (13:41 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 4 Mar 2015 10:19:37 +0000 (11:19 +0100)
commit5663c25dcceb744b980ff28df5687de7ec8cbbf8
tree0046c0f2ba144fcf9f61de50a05d113ecae0b46b
parent4b1b380213f3fc7029e8b9d936fc0a5d25009422
timer: fix callback declaration inconsistency

This patch remove inconsistency between declaration of type
rte_timer_cb_t, field f in struct rte_timer and function
__rte_timer_reset().

Although compiler treat both of them the same, the static analysis tool
like complain about that.

Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_timer/rte_timer.h