psp2kern: Fix indentations of USB headers
@@ -68,10 +68,10 @@ typedef enum SceUsbdErrorCode {
SCE_USBD_ERROR_NO_MEMORY = 0x80240005,
SCE_USBD_ERROR_DEVICE_NOT_FOUND = 0x80240006,
- SCE_USBD_ERROR_80240007 = 0x80240007, //
+ SCE_USBD_ERROR_80240007 = 0x80240007,
- SCE_USBD_ERROR_80240009 = 0x80240009, //
- SCE_USBD_ERROR_8024000A = 0x8024000A, //
+ SCE_USBD_ERROR_80240009 = 0x80240009,
+ SCE_USBD_ERROR_8024000A = 0x8024000A,
SCE_USBD_ERROR_FATAL = 0x802400FF
@@ -329,13 +329,11 @@ typedef void (*ksceUsbdIsochDoneCallback)(int32_t result, ksceUsbdIsochTransfer
* @param user_data userdata to pass to callback
*
*/
-int ksceUsbdControlTransfer(
- SceUID pipe_id,
+int ksceUsbdControlTransfer(SceUID pipe_id,
const SceUsbdDeviceRequest *req,
unsigned char *buffer,
ksceUsbdDoneCallback cb,
- void *user_data
-);
+ void *user_data);
/**
* Transfer data to/from interrupt endpoint
@@ -349,13 +347,11 @@ int ksceUsbdControlTransfer(
* @param user_data userdata to pass to callback
*
*/
-int ksceUsbdInterruptTransfer(
- SceUID pipe_id,
+int ksceUsbdInterruptTransfer(SceUID pipe_id,
unsigned char *buffer,
SceSize length,
ksceUsbdDoneCallback cb,
- void *user_data
-);
+ void *user_data);
/**
* Transfer isochronous data to/from endpoint
@@ -368,12 +364,10 @@ int ksceUsbdInterruptTransfer(
* @param user_data userdata to pass to callback
*
*/
-int ksceUsbdIsochronousTransfer(
- SceUID pipe_id,
+int ksceUsbdIsochronousTransfer(SceUID pipe_id,
ksceUsbdIsochTransfer* transfer,
ksceUsbdIsochDoneCallback cb,
- void *user_data
-);
+ void *user_data);
/**
* Transfer data to/from endpoint
@@ -388,13 +382,11 @@ int ksceUsbdIsochronousTransfer(
*
* @note buffer pointer must be 64b aligned
*/
-int ksceUsbdBulkTransfer(
- SceUID pipe_id,
+int ksceUsbdBulkTransfer(SceUID pipe_id,
unsigned char *buffer,
unsigned int length,
ksceUsbdDoneCallback cb,
- void *user_data
-);
+ void *user_data);
/**
* Transfer data to/from endpoint
@@ -409,13 +401,11 @@ int ksceUsbdBulkTransfer(
*
* @note buffer pointer must be 64b aligned
*/
-int ksceUsbdBulkTransfer2(
- int pipe_id,
+int ksceUsbdBulkTransfer2(int pipe_id,
unsigned char *buffer,
unsigned int length,
ksceUsbdDoneCallback cb,
- void *user_data
-);
+ void *user_data);
/**
