
3 Sep
2019
3 Sep
'19
4:43 a.m.
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 <ptoscano@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