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:
parent
82029bdae8
commit
12cf623f5c
@ -74,7 +74,7 @@ struct usb_configuration_info {
|
||||
};
|
||||
|
||||
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. */
|
||||
|
@ -80,7 +80,7 @@ typedef struct {
|
||||
} usb_iso_packet_descriptor;
|
||||
|
||||
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. */
|
||||
|
@ -231,7 +231,7 @@ Hub::Explore()
|
||||
|
||||
void
|
||||
Hub::InterruptCallback(void *cookie, uint32 status, void *data,
|
||||
uint32 actualLength)
|
||||
size_t actualLength)
|
||||
{
|
||||
TRACE(("USB Hub: interrupt callback!\n"));
|
||||
}
|
||||
|
@ -426,7 +426,7 @@ virtual status_t GetDescriptor(uint8 descriptorType,
|
||||
void Explore();
|
||||
static void InterruptCallback(void *cookie,
|
||||
uint32 status, void *data,
|
||||
uint32 actualLength);
|
||||
size_t actualLength);
|
||||
|
||||
virtual void ReportDevice(
|
||||
usb_support_descriptor *supportDescriptors,
|
||||
|
Loading…
Reference in New Issue
Block a user