eal: factorize lcore role code
authorDavid Marchand <david.marchand@redhat.com>
Fri, 25 Oct 2019 13:56:09 +0000 (15:56 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Sun, 27 Oct 2019 09:41:08 +0000 (10:41 +0100)
This code belongs to the lcore API, move the prototype to the right
header, then factorize the code into the common code.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>

No differences found