tailq: use a single cast macro
authorDavid Marchand <david.marchand@6wind.com>
Wed, 4 Mar 2015 21:50:04 +0000 (22:50 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 10 Mar 2015 10:49:26 +0000 (11:49 +0100)
commitf6b4f6c9c123e4c537e868b1bc7fee07730ad306
treef2dae0c60b771cb9ca6f5c2e593db8f10a8da050
parentff708facfcbf42f3dcb3c62d82ecd93e7b8c2506
tailq: use a single cast macro

No need to cast everywhere, define a common macro for this, plus it can be used
in future commits.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/common/include/rte_tailq.h