unified callback parameter definition of size_t and uint32, now uses size_t
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18869 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -74,7 +74,7 @@ struct usb_configuration_info {
|
|||||||
};
|
};
|
||||||
|
|
||||||
typedef void (*usb_callback_func)(void *cookie, uint32 status, void *data,
|
typedef void (*usb_callback_func)(void *cookie, uint32 status, void *data,
|
||||||
uint32 actualLength);
|
size_t actualLength);
|
||||||
|
|
||||||
|
|
||||||
/* The usb_module_info represents the public API of the USB Stack. */
|
/* The usb_module_info represents the public API of the USB Stack. */
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ typedef struct {
|
|||||||
} usb_iso_packet_descriptor;
|
} usb_iso_packet_descriptor;
|
||||||
|
|
||||||
typedef void (*usb_callback_func)(void *cookie, uint32 status, void *data,
|
typedef void (*usb_callback_func)(void *cookie, uint32 status, void *data,
|
||||||
uint32 actualLength);
|
size_t actualLength);
|
||||||
|
|
||||||
|
|
||||||
/* The usb_module_info represents the public API of the USB Stack. */
|
/* The usb_module_info represents the public API of the USB Stack. */
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ Hub::Explore()
|
|||||||
|
|
||||||
void
|
void
|
||||||
Hub::InterruptCallback(void *cookie, uint32 status, void *data,
|
Hub::InterruptCallback(void *cookie, uint32 status, void *data,
|
||||||
uint32 actualLength)
|
size_t actualLength)
|
||||||
{
|
{
|
||||||
TRACE(("USB Hub: interrupt callback!\n"));
|
TRACE(("USB Hub: interrupt callback!\n"));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -426,7 +426,7 @@ virtual status_t GetDescriptor(uint8 descriptorType,
|
|||||||
void Explore();
|
void Explore();
|
||||||
static void InterruptCallback(void *cookie,
|
static void InterruptCallback(void *cookie,
|
||||||
uint32 status, void *data,
|
uint32 status, void *data,
|
||||||
uint32 actualLength);
|
size_t actualLength);
|
||||||
|
|
||||||
virtual void ReportDevice(
|
virtual void ReportDevice(
|
||||||
usb_support_descriptor *supportDescriptors,
|
usb_support_descriptor *supportDescriptors,
|
||||||
|
|||||||
Reference in New Issue
Block a user