vbox: remove extra spaces from function headers
Also fix the curly brace to pass sytnax-check.
This commit is contained in:
parent
b31e4d00ec
commit
a3dd574a07
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user