1
0

vbox: remove extra spaces from function headers

Also fix the curly brace to pass sytnax-check.
This commit is contained in:
Ján Tomko 2016-02-09 12:34:13 +01:00
parent b31e4d00ec
commit a3dd574a07
2 changed files with 18 additions and 16 deletions

View File

@ -145,12 +145,13 @@ static bool vboxGetMaxPortSlotValues(IVirtualBox *vbox,
* *
*/ */
static bool vboxGetDeviceDetails(const char *deviceName, static bool vboxGetDeviceDetails(const char *deviceName,
PRUint32 *aMaxPortPerInst, PRUint32 *aMaxPortPerInst,
PRUint32 *aMaxSlotPerPort, PRUint32 *aMaxSlotPerPort,
PRUint32 storageBus, PRUint32 storageBus,
PRInt32 *deviceInst, PRInt32 *deviceInst,
PRInt32 *devicePort, PRInt32 *devicePort,
PRInt32 *deviceSlot) { PRInt32 *deviceSlot)
{
int total = 0; int total = 0;
PRUint32 maxPortPerInst = 0; PRUint32 maxPortPerInst = 0;
PRUint32 maxSlotPerPort = 0; PRUint32 maxSlotPerPort = 0;
@ -204,10 +205,10 @@ static bool vboxGetDeviceDetails(const char *deviceName,
* @param aMaxSlotPerPort Input array of max slot per device port * @param aMaxSlotPerPort Input array of max slot per device port
* *
*/ */
static char *vboxGenerateMediumName(PRUint32 storageBus, static char *vboxGenerateMediumName(PRUint32 storageBus,
PRInt32 deviceInst, PRInt32 deviceInst,
PRInt32 devicePort, PRInt32 devicePort,
PRInt32 deviceSlot, PRInt32 deviceSlot,
PRUint32 *aMaxPortPerInst, PRUint32 *aMaxPortPerInst,
PRUint32 *aMaxSlotPerPort) PRUint32 *aMaxSlotPerPort)
{ {

View File

@ -621,12 +621,13 @@ _vboxIIDFromArrayItem(vboxGlobalData *data, vboxIIDUnion *iidu,
# if VBOX_API_VERSION < 4000000 # if VBOX_API_VERSION < 4000000
/* Only 3.x will use this function. */ /* Only 3.x will use this function. */
static bool vboxGetDeviceDetails(const char *deviceName, static bool vboxGetDeviceDetails(const char *deviceName,
PRUint32 *aMaxPortPerInst, PRUint32 *aMaxPortPerInst,
PRUint32 *aMaxSlotPerPort, PRUint32 *aMaxSlotPerPort,
PRUint32 storageBus, PRUint32 storageBus,
PRInt32 *deviceInst, PRInt32 *deviceInst,
PRInt32 *devicePort, PRInt32 *devicePort,
PRInt32 *deviceSlot) { PRInt32 *deviceSlot)
{
int total = 0; int total = 0;
PRUint32 maxPortPerInst = 0; PRUint32 maxPortPerInst = 0;
PRUint32 maxSlotPerPort = 0; PRUint32 maxSlotPerPort = 0;