vfio: fix FreeBSD build
authorMoti Haimovsky <motih@mellanox.com>
Wed, 17 Jan 2018 17:24:15 +0000 (19:24 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jan 2018 17:49:38 +0000 (18:49 +0100)
commit681721958194f4ea48f95f67a479ef645e66e868
tree815bb8856188069bc2abf8a660ff7ec9a09d38e2
parent43e9f17ce7b8349f9e96f94bee27ce85575be275
vfio: fix FreeBSD build

This patch fixes the following compilation errors in bsdapp

lib/librte_eal/bsdapp/eal/eal.c:782:5:
error: no previous prototype for function 'rte_vfio_clear_group'
int rte_vfio_clear_group(int vfio_group_fd)
    ^

lib/librte_eal/bsdapp/eal/eal.c:782:30:
error: unused parameter 'vfio_group_fd'
int rte_vfio_clear_group(int vfio_group_fd)
                             ^

Fixes: c564a2a20093 ("vfio: expose clear group function for internal usages")

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
lib/librte_eal/bsdapp/eal/eal.c