16 Aug
2019
16 Aug
'19
9:52 a.m.
On Fri, Aug 16, 2019 at 09:43:27AM +0200, Peter Krempa wrote:
In some cases e.g. with clang on fedora 30 __open2 isn't even declared which results in the following build error:
/home/pipo/libvirt/tests/virpcimock.c:939:1: error: no previous prototype for function '__open_2' [-Werror,-Wmissing-prototypes] __open_2(const char *path, int flags)
Add a separate declaration to appease the compiler.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- I guess you could have simply pushed this as a build breaker, anyway:
Reviewed-by: Erik Skultety <eskultet@redhat.com>