mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
virdbus: Make virDBusCall static
This commit is contained in:
parent
3e8699d324
commit
709f2455cc
@ -1148,7 +1148,6 @@ virCryptoHashString;
|
||||
|
||||
|
||||
# util/virdbus.h
|
||||
virDBusCall;
|
||||
virDBusCallMethod;
|
||||
virDBusCloseSystemBus;
|
||||
virDBusCreateMethod;
|
||||
|
@ -1404,7 +1404,8 @@ int virDBusCreateReply(DBusMessage **reply,
|
||||
*
|
||||
* Returns 0 on success, or -1 upon error
|
||||
*/
|
||||
int virDBusCall(DBusConnection *conn,
|
||||
static int
|
||||
virDBusCall(DBusConnection *conn,
|
||||
DBusMessage *call,
|
||||
DBusMessage **replyout,
|
||||
DBusError *error)
|
||||
@ -1694,16 +1695,6 @@ int virDBusCreateReply(DBusMessage **reply ATTRIBUTE_UNUSED,
|
||||
return -1;
|
||||
}
|
||||
|
||||
int virDBusCall(DBusConnection *conn ATTRIBUTE_UNUSED,
|
||||
DBusMessage *call ATTRIBUTE_UNUSED,
|
||||
DBusMessage **reply ATTRIBUTE_UNUSED,
|
||||
DBusError *error ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s", _("DBus support not compiled into this binary"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
int virDBusCallMethod(DBusConnection *conn ATTRIBUTE_UNUSED,
|
||||
DBusMessage **reply ATTRIBUTE_UNUSED,
|
||||
DBusError *error ATTRIBUTE_UNUSED,
|
||||
|
@ -68,10 +68,6 @@ int virDBusCallMethod(DBusConnection *conn,
|
||||
const char *iface,
|
||||
const char *member,
|
||||
const char *types, ...);
|
||||
int virDBusCall(DBusConnection *conn,
|
||||
DBusMessage *call,
|
||||
DBusMessage **reply,
|
||||
DBusError *error);
|
||||
int virDBusMessageRead(DBusMessage *msg,
|
||||
const char *types, ...);
|
||||
void virDBusMessageUnref(DBusMessage *msg);
|
||||
|
Loading…
Reference in New Issue
Block a user