From a3dd574a07069d9108d31df45f6db257d9e8fc28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Tomko?= Date: Tue, 9 Feb 2016 12:34:13 +0100 Subject: [PATCH] vbox: remove extra spaces from function headers Also fix the curly brace to pass sytnax-check. --- src/vbox/vbox_common.c | 21 +++++++++++---------- src/vbox/vbox_tmpl.c | 13 +++++++------ 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c index 56d80a35c4..718a2f8749 100644 --- a/src/vbox/vbox_common.c +++ b/src/vbox/vbox_common.c @@ -145,12 +145,13 @@ static bool vboxGetMaxPortSlotValues(IVirtualBox *vbox, * */ static bool vboxGetDeviceDetails(const char *deviceName, - PRUint32 *aMaxPortPerInst, - PRUint32 *aMaxSlotPerPort, - PRUint32 storageBus, - PRInt32 *deviceInst, - PRInt32 *devicePort, - PRInt32 *deviceSlot) { + PRUint32 *aMaxPortPerInst, + PRUint32 *aMaxSlotPerPort, + PRUint32 storageBus, + PRInt32 *deviceInst, + PRInt32 *devicePort, + PRInt32 *deviceSlot) +{ int total = 0; PRUint32 maxPortPerInst = 0; PRUint32 maxSlotPerPort = 0; @@ -204,10 +205,10 @@ static bool vboxGetDeviceDetails(const char *deviceName, * @param aMaxSlotPerPort Input array of max slot per device port * */ -static char *vboxGenerateMediumName(PRUint32 storageBus, - PRInt32 deviceInst, - PRInt32 devicePort, - PRInt32 deviceSlot, +static char *vboxGenerateMediumName(PRUint32 storageBus, + PRInt32 deviceInst, + PRInt32 devicePort, + PRInt32 deviceSlot, PRUint32 *aMaxPortPerInst, PRUint32 *aMaxSlotPerPort) { diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c index 8816b13030..ef53694697 100644 --- a/src/vbox/vbox_tmpl.c +++ b/src/vbox/vbox_tmpl.c @@ -621,12 +621,13 @@ _vboxIIDFromArrayItem(vboxGlobalData *data, vboxIIDUnion *iidu, # if VBOX_API_VERSION < 4000000 /* Only 3.x will use this function. */ static bool vboxGetDeviceDetails(const char *deviceName, - PRUint32 *aMaxPortPerInst, - PRUint32 *aMaxSlotPerPort, - PRUint32 storageBus, - PRInt32 *deviceInst, - PRInt32 *devicePort, - PRInt32 *deviceSlot) { + PRUint32 *aMaxPortPerInst, + PRUint32 *aMaxSlotPerPort, + PRUint32 storageBus, + PRInt32 *deviceInst, + PRInt32 *devicePort, + PRInt32 *deviceSlot) +{ int total = 0; PRUint32 maxPortPerInst = 0; PRUint32 maxSlotPerPort = 0; -- 2.39.5