]> xenbits.xensource.com Git - people/dariof/libvirt.git/commitdiff
build: fix another virdbus issue on mingw
authorEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 15:58:19 +0000 (09:58 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 15:58:19 +0000 (09:58 -0600)
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>
src/util/virdbus.h

index c04fd104fb532eb0c6493f7124f15787208a0fac..39de479ff9ab0ca05fe7ad9218765958773b9345 100644 (file)
@@ -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,