There are no prototypes for the autogenerated C functions, so build this source with that too. Previously it was pulled in when all the sources were built as one.
Signed-off-by: Pino Toscano <ptosc...@redhat.com> --- libvirt/generator.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvirt/generator.pl b/libvirt/generator.pl index cb2b845..ac3dd65 100755 --- a/libvirt/generator.pl +++ b/libvirt/generator.pl @@ -234,6 +234,10 @@ print F <<'END'; #include "libvirt_c.h" +#ifdef __GNUC__ +#pragma GCC diagnostic ignored "-Wmissing-prototypes" +#endif + END #---------------------------------------------------------------------- -- 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list