long policy

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5715 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jean-Philippe Bernardy 2005-01-30 15:16:58 +00:00
parent 8d3149f3ab
commit eb1da817ea
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
void usb_init(void);
void usb_start_monitoring(void);
void usb_acknowledge(int id);
void usb_acknowledge(long id);
void usb_wait_for_disconnect(struct event_queue *q);
int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks);
bool usb_inserted(void); /* return the official value, what's been reported to the threads */

View file

@ -345,7 +345,7 @@ static void usb_tick(void)
#endif
}
void usb_acknowledge(int id)
void usb_acknowledge(long id)
{
queue_post(&usb_queue, id, NULL);
}
@ -428,7 +428,7 @@ bool usb_inserted(void)
#endif
/* Dummy simulator functions */
void usb_acknowledge(int id)
void usb_acknowledge(long id)
{
id = id;
}