We really do not want to have dependency on an internal header(s), since
it opens the possibility of leaking implementation details into what
should be API level tests.
Although, it could be that we should remove kmod_list from the public
API all together... Something for another day either way.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/450
Signed-off-by: Lucas De Marchi <ldemarchi@kernel.org>
/* good luck building a kmod_list outside of the library... makes this blacklist
* function rather pointless */
+/* FIXME: convert the test so we don't need the internal header */
#include <libkmod/libkmod-internal.h>
#include "testsuite.h"