}
static void
-_vboxIIDToUtf8(struct _vboxDriver *data G_GNUC_UNUSED,
- vboxIID *iid G_GNUC_UNUSED,
- char **utf8 G_GNUC_UNUSED)
+_vboxIIDToUtf8(struct _vboxDriver *data,
+ vboxIID *iid,
+ char **utf8)
{
data->pFuncs->pfnUtf16ToUtf8(iid->value, utf8);
}
return snapshot->vtbl->GetChildren;
}
-static void* _handleMediumGetChildren(IMedium *medium G_GNUC_UNUSED)
+static void* _handleMediumGetChildren(IMedium *medium)
{
return medium->vtbl->GetChildren;
}
}
static nsresult
-_virtualboxCreateMachine(struct _vboxDriver *data, virDomainDef *def, IMachine **machine, char *uuidstr G_GNUC_UNUSED)
+_virtualboxCreateMachine(struct _vboxDriver *data, virDomainDef *def, IMachine **machine, char *uuidstr)
{
vboxIID iid = VBOX_IID_INITIALIZER;
PRUnichar *machineNameUtf16 = NULL;
_virtualboxFindHardDisk(IVirtualBox *vboxObj,
PRUnichar *location,
PRUint32 deviceType,
- PRUint32 accessMode G_GNUC_UNUSED,
+ PRUint32 accessMode,
IMedium **medium)
{
return vboxObj->vtbl->OpenMedium(vboxObj, location, deviceType, accessMode,
static nsresult
_machineCreateSharedFolder(IMachine *machine, PRUnichar *name,
PRUnichar *hostPath, PRBool writable,
- PRBool automount G_GNUC_UNUSED)
+ PRBool automount)
{
#if VBOX_API_VERSION >= 6000000
return machine->vtbl->CreateSharedFolder(machine, name, hostPath,
static nsresult
_machineLaunchVMProcess(struct _vboxDriver *data,
- IMachine *machine G_GNUC_UNUSED,
+ IMachine *machine,
vboxIID *iid G_GNUC_UNUSED,
PRUnichar *sessionType, PRUnichar *env,
IProgress **progress)
}
static nsresult
-_machineUnregister(IMachine *machine G_GNUC_UNUSED,
- PRUint32 cleanupMode G_GNUC_UNUSED,
- PRUint32 *aMediaSize G_GNUC_UNUSED,
- IMedium ***aMedia G_GNUC_UNUSED)
+_machineUnregister(IMachine *machine,
+ PRUint32 cleanupMode,
+ PRUint32 *aMediaSize,
+ IMedium ***aMedia)
{
return machine->vtbl->Unregister(machine, cleanupMode, aMediaSize, aMedia);
}
}
static nsresult
-_machineGetChipsetType(IMachine *machine G_GNUC_UNUSED, PRUint32 *chipsetType G_GNUC_UNUSED)
+_machineGetChipsetType(IMachine *machine, PRUint32 *chipsetType)
{
return machine->vtbl->GetChipsetType(machine, chipsetType);
}
}
static nsresult
-_machineGetCPUProperty(IMachine *machine, PRUint32 property G_GNUC_UNUSED, PRBool *value)
+_machineGetCPUProperty(IMachine *machine, PRUint32 property, PRBool *value)
{
return machine->vtbl->GetCPUProperty(machine, property, value);
}
static nsresult
-_machineSetCPUProperty(IMachine *machine, PRUint32 property G_GNUC_UNUSED, PRBool value)
+_machineSetCPUProperty(IMachine *machine, PRUint32 property, PRBool value)
{
return machine->vtbl->SetCPUProperty(machine, property, value);
}
}
static nsresult
-_systemPropertiesGetMaxNetworkAdapters(ISystemProperties *systemProperties, PRUint32 chipset G_GNUC_UNUSED,
+_systemPropertiesGetMaxNetworkAdapters(ISystemProperties *systemProperties, PRUint32 chipset,
PRUint32 *maxNetworkAdapters)
{
return systemProperties->vtbl->GetMaxNetworkAdapters(systemProperties, chipset,
}
static nsresult
-_vrdeServerGetNetAddress(struct _vboxDriver *data G_GNUC_UNUSED,
+_vrdeServerGetNetAddress(struct _vboxDriver *data,
IVRDEServer *VRDEServer, PRUnichar **netAddress)
{
PRUnichar *VRDENetAddressKey = NULL;
}
static nsresult
-_vrdeServerSetNetAddress(struct _vboxDriver *data G_GNUC_UNUSED,
+_vrdeServerSetNetAddress(struct _vboxDriver *data,
IVRDEServer *VRDEServer, PRUnichar *netAddress)
{
PRUnichar *netAddressKey = NULL;
return rc;
}
-static nsresult _mediumGetReadOnly(IMedium *medium G_GNUC_UNUSED,
- PRBool *readOnly G_GNUC_UNUSED)
+static nsresult _mediumGetReadOnly(IMedium *medium,
+ PRBool *readOnly)
{
return medium->vtbl->GetReadOnly(medium, readOnly);
}
return medium->vtbl->Close(medium);
}
-static nsresult _mediumSetType(IMedium *medium G_GNUC_UNUSED,
- PRUint32 type G_GNUC_UNUSED)
+static nsresult _mediumSetType(IMedium *medium,
+ PRUint32 type)
{
return medium->vtbl->SetType(medium, type);
}
static nsresult
-_mediumCreateDiffStorage(IMedium *medium G_GNUC_UNUSED,
- IMedium *target G_GNUC_UNUSED,
- PRUint32 variantSize G_GNUC_UNUSED,
- PRUint32 *variant G_GNUC_UNUSED,
- IProgress **progress G_GNUC_UNUSED)
+_mediumCreateDiffStorage(IMedium *medium,
+ IMedium *target,
+ PRUint32 variantSize,
+ PRUint32 *variant,
+ IProgress **progress)
{
return medium->vtbl->CreateDiffStorage(medium, target, variantSize, variant, progress);
}
}
static nsresult
-_mediumAttachmentGetType(IMediumAttachment *mediumAttachment G_GNUC_UNUSED,
- PRUint32 *type G_GNUC_UNUSED)
+_mediumAttachmentGetType(IMediumAttachment *mediumAttachment,
+ PRUint32 *type)
{
return mediumAttachment->vtbl->GetType(mediumAttachment, type);
}
}
static nsresult
-_displayGetScreenResolution(IDisplay *display G_GNUC_UNUSED,
- PRUint32 screenId G_GNUC_UNUSED,
- PRUint32 *width G_GNUC_UNUSED,
- PRUint32 *height G_GNUC_UNUSED,
- PRUint32 *bitsPerPixel G_GNUC_UNUSED,
- PRInt32 *xOrigin G_GNUC_UNUSED,
- PRInt32 *yOrigin G_GNUC_UNUSED)
+_displayGetScreenResolution(IDisplay *display,
+ PRUint32 screenId,
+ PRUint32 *width,
+ PRUint32 *height,
+ PRUint32 *bitsPerPixel,
+ PRInt32 *xOrigin,
+ PRInt32 *yOrigin)
{
PRUint32 gms;
}
static nsresult
-_hostRemoveHostOnlyNetworkInterface(IHost *host G_GNUC_UNUSED,
- vboxIID *iid G_GNUC_UNUSED,
- IProgress **progress G_GNUC_UNUSED)
+_hostRemoveHostOnlyNetworkInterface(IHost *host,
+ vboxIID *iid,
+ IProgress **progress)
{
return host->vtbl->RemoveHostOnlyNetworkInterface(host, iid->value, progress);
}