[PATCH 5/4] build: fix another virdbus issue on mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Depending on the set of mingw packages installed, it is possible
that other .c files hit the mingw header pollution from the
virdbus.h file.

In file included from ../../src/rpc/virnetserver.c:39:0:
../../src/util/virdbus.h:41:35: error: expected ';', ',' or ')' before 'struct'
                       const char *interface,
                                   ^

* src/util/virdbus.h (virDBusCallMethod): Match .c file change.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---

Another build-breaker push.

 src/util/virdbus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virdbus.h b/src/util/virdbus.h
index c04fd10..39de479 100644
--- a/src/util/virdbus.h
+++ b/src/util/virdbus.h
@@ -38,7 +38,7 @@ int virDBusCallMethod(DBusConnection *conn,
                       DBusMessage **reply,
                       const char *destination,
                       const char *path,
-                      const char *interface,
+                      const char *iface,
                       const char *member,
                       const char *types, ...);
 int virDBusMessageRead(DBusMessage *msg,
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]