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

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



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 redhat com>
---

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


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